import { CommandModule } from 'yargs'; import { serviceDeploy } from './deploy/service-deploy-command'; import { serviceUndeploy } from './undeploy/service-undeploy-command'; export const serviceCommands: CommandModule = { builder: (yargs) => yargs .command( 'deploy', 'Deploy a service through Hosting Service.', serviceDeploy, ) .demandCommand() .command( 'undeploy', 'Undeploy a service through Hosting Service.', serviceUndeploy, ) .demandCommand(), handler: () => { console.log('Please pick an action related to hosting service command.'); }, };