import { CommandModule } from 'yargs'; import { manifestCommands } from './manifest/manifest-commands'; import { piletCommands } from './pilet/pilet-commands'; import { serviceCommands } from './service/service-commands'; export const hosting: CommandModule = { command: 'hosting', describe: 'Commands related to Mosaic Hosting.', builder: (yargs) => yargs .command('pilet', 'Pilet related actions', piletCommands) .command( 'manifest', 'Deployment Manifest related actions', manifestCommands, ) .command('service', 'Service Deployment related actions', serviceCommands) .demandCommand(), handler: (_args) => { console.log('Please pick a sub command related to hosting.'); }, };