MXS-1779 Add maxctrl classify command

Using the REST-API /v1/maxscale/query_classifier/classify?sql=...
the provided statement is sent to MaxScale for classification.
This commit is contained in:
Johan Wikman
2018-10-30 09:53:29 +02:00
parent a349f0ad0d
commit 3b4fa6bd56
2 changed files with 53 additions and 0 deletions

View File

@ -112,6 +112,7 @@ program
.command(require('./call.js'))
.command(require('./cluster.js'))
.command(require('./api.js'))
.command(require('./classify.js'))
.epilog('If no commands are given, maxctrl is started in interactive mode. ' +
'Use `exit` to exit the interactive mode.')
.help()