Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 9 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import commander from 'commander' |
||
2 | import ServiceController from '../controllers/serviceController' |
||
3 | |||
4 | export default (program: typeof commander): commander.Command => program |
||
5 | .command('start [service]') |
||
6 | .description('Start all or a specific service.') |
||
7 | .action((service: string | undefined) => { |
||
8 | (new ServiceController()).executeStart(service).catch(err => console.log(err.message)) |
||
9 | }) |