Skip to content

Commit

Permalink
fix: Move filename from global to build command option (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpl authored Mar 3, 2021
1 parent 0835252 commit 629aa14
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/program.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,18 +484,6 @@ Example: $0 --help run.
default: true,
type: 'boolean',
},
'filename': {
alias: 'n',
describe: 'Name of the created extension package file.',
default: undefined,
normalize: false,
demandOption: false,
requiresArg: true,
type: 'string',
coerce: throwUsageErrorIfArray(
'Multiple --filename/-n option are not allowed'
),
},
});

program
Expand All @@ -507,6 +495,18 @@ Example: $0 --help run.
describe: 'Watch for file changes and re-build as needed',
type: 'boolean',
},
'filename': {
alias: 'n',
describe: 'Name of the created extension package file.',
default: undefined,
normalize: false,
demandOption: false,
requiresArg: true,
type: 'string',
coerce: throwUsageErrorIfArray(
'Multiple --filename/-n option are not allowed'
),
},
'overwrite-dest': {
alias: 'o',
describe: 'Overwrite destination package if it exists.',
Expand Down

0 comments on commit 629aa14

Please sign in to comment.