import { Registrar } from '@kui-shell/core' ; import { printiter8about } from './modes/about' ; import { getConfig } from './modes/config' ; export default async ( registrar ) => { registrar . listen ( '/iter8/create/experiment' , ( ) => ( { kind : 'Command' , metadata : { name : 'Experiment Creation' } , modes : [ ] } ) , { isExperimental : true } ) ; registrar . listen ( '/iter8/metrics' , ( ) => ( { kind : 'Command' , metadata : { name : 'Metric Command' , namespace : 'Use: kubectl get configmaps -n iter8' } , modes : [ ] } ) , { isExperimental : true } ) ; registrar . listen ( '/iter8/about' , ( ) => printiter8about , { isExperimental : true } ) ; registrar . listen ( '/iter8/config/verify' , getConfig , { isExperimental : true } ) ; } ;