Add history to maxctrl cli
This commit is contained in:
		@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										967
									
								
								maxctrl/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										967
									
								
								maxctrl/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -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": {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user