import { Arguments } from '@kui-shell/core' ; import { isUsage , KubeOptions } from '@kui-shell/plugin-kubectl' ; /** Check both `helm get -h` and `helm get` */ export default function isHelmUsage ( args , cmd ) { return isUsage ( args ) || new RegExp ( `\\s*helm ${ cmd }\\s*$` ) . test ( args . command ) ; }