Add raw REST API calls to MaxCtrl

Being able to perform raw REST API calls that leverage the value
extraction capabilities of Node.js gives more control to the end user. It
also doubles as a handy tool for creating scripts that only require one
particular value from the REST API.
This commit is contained in:
Markus Mäkelä
2018-04-16 09:54:40 +03:00
parent 41626202ed
commit 5855b307bd
2 changed files with 43 additions and 0 deletions

View File

@ -100,6 +100,7 @@ program
.command(require('./rotate.js'))
.command(require('./call.js'))
.command(require('./cluster.js'))
.command(require('./api.js'))
.help()
.demandCommand(1, 'At least one command is required')
.command('*', 'the default command', {}, function(argv) {