Skip to content

Commit

Permalink
fix: drop unused "scenario" command
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Yegupov committed Aug 16, 2019
1 parent 86c411e commit ec84987
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 462 deletions.
2 changes: 1 addition & 1 deletion src/cli/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ export function args(rawArgv: string[]): Args {
'protect',
'test',
'modules',
'scenario',
'monitor',
'wizard',
'ignore',
'woof',
].indexOf(command) !== -1) {
// copy all the options across to argv._ as an object
argv._.push(argv);
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ const commands = {
monitor: hotload('./monitor'),
policy: hotload('./policy'),
protect: hotload('./protect'),
scenario: hotload('./scenario'),
test: hotload('./test'),
'test-unpublished': hotload('./unpublished'),
version: hotload('./version'),
wizard: hotload('./protect/wizard'),
woof: hotload('./woof'),
};
commands.aliases = abbrev(Object.keys(commands));
commands.aliases.t = 'test';
Expand Down

0 comments on commit ec84987

Please sign in to comment.