import { Arguments } from '@kui-shell/core' ; import { isUsage , doHelp , KubeOptions , doExecWithTable } from '@kui-shell/plugin-kubectl' ; export default ( command ) => ( args ) => { if ( isUsage ( args ) ) { return doHelp ( command , args ) ; } else { return doExecWithTable ( args , undefined , command , { verb : 'krew' , entityType : 'info' } ) ; } } ;