MXS-1300: Add create/destroy commands
Servers, monitors and listeners can now be created and destroyed with MaxCtrl. Exported lodash as a part of the common.js module so that commands can use it to construct objects. If there are enough common uses of this library, some of the object construction could be moved to the common module.
This commit is contained in:
@ -11,13 +11,13 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
var _ = require('lodash-getpath')
|
||||
var request = require('request');
|
||||
var colors = require('colors/safe');
|
||||
var Table = require('cli-table');
|
||||
|
||||
module.exports = function() {
|
||||
|
||||
this._ = require('lodash-getpath')
|
||||
// Common options for all commands
|
||||
this.program = require('yargs');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user