MXS-1300: Add start/stop commands

Added start and stop commands for starting and stopping services and
monitors.
This commit is contained in:
Markus Mäkelä
2017-07-06 14:25:28 +03:00
parent a0e7a97729
commit 252022534c
3 changed files with 64 additions and 0 deletions

View File

@ -60,6 +60,8 @@ program
.command(require('./lib/destroy.js'))
.command(require('./lib/link.js'))
.command(require('./lib/unlink.js'))
.command(require('./lib/start.js'))
.command(require('./lib/stop.js'))
.help()
.demandCommand(1, 'At least one command is required')
.command('*', 'the default command', {}, () => {