Rename cli command "run" to "execute"

This commit is contained in:
Jan Oberhauser
2019-06-24 08:28:24 +02:00
parent b776bd8bd7
commit 2b7382cd63
3 changed files with 6 additions and 6 deletions

View File

@@ -29,8 +29,8 @@ const command = process.argv[2];
// Check if the command the user did enter is supported else stop
const supportedCommands = [
'execute',
'help',
'run',
'start',
];
@@ -41,7 +41,7 @@ if (!supportedCommands.includes(command)) {
const vorpal = new Vorpal();
vorpal
.use(require('./commands/run.js'))
.use(require('./commands/execute.js'))
.use(require('./commands/start.js'))
.delimiter('')
.show()