import { i18n } from '@kui-shell/core' ; import { HelmRelease , isHelmRelease } from '../models/release' ; const strings = i18n ( 'plugin-kubectl' , 'helm' ) ; export default { when : isHelmRelease , mode : { mode : 'status' , label : strings ( 'Show Status' ) , kind : 'drilldown' as const , command : ( _ , resource ) => { return `helm status ${ resource . metadata . name }` ; } } } ;