Add history to maxctrl cli

This commit is contained in:
Markus Mäkelä 2019-04-12 08:48:55 +03:00
parent 961cb80521
commit 382d485c2e
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
3 changed files with 548 additions and 428 deletions

View File

@ -156,10 +156,14 @@ module.exports.execute = function(argv, opts) {
}
function askQuestion() {
inquirer.registerPrompt('command', require('inquirer-command-prompt'))
var question = [ {
name: 'maxctrl',
prefix: '',
suffix: ''
suffix: '',
type: 'command',
message: 'maxctrl'
}]
var running = true

File diff suppressed because it is too large Load Diff

View File

@ -20,11 +20,12 @@
"cli-table": "^0.3.1",
"globby": "^8.0.2",
"inquirer": "^6.2.1",
"inquirer-command-prompt": "0.0.8",
"lodash": "^4.17.11",
"lodash-getpath": "^0.2.4",
"readline-sync": "^1.4.9",
"request": "^2.88.0",
"request-promise-native": "^1.0.3",
"request-promise-native": "^1.0.7",
"yargs": "^8.0.2"
},
"devDependencies": {