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
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