MXS-1300: Add calling of module commands to MaxCtrl

Module commands can now be called with MaxCtrl.
This commit is contained in:
Markus Mäkelä
2017-07-10 15:16:12 +03:00
parent e14aa729ab
commit a77406e134
2 changed files with 46 additions and 0 deletions

View File

@ -64,6 +64,7 @@ program
.command(require('./lib/stop.js'))
.command(require('./lib/alter.js'))
.command(require('./lib/rotate.js'))
.command(require('./lib/call.js'))
.help()
.demandCommand(1, 'At least one command is required')
.command('*', 'the default command', {}, () => {