cli arg aliases can only be 1 char
This commit is contained in:
10
lib/main.js
10
lib/main.js
@@ -37,11 +37,11 @@ exports.CLIArgs = (0, command_line_args_1.default)([
|
||||
{ name: 'watch', alias: 'w', type: Boolean, defaultValue: false },
|
||||
{ name: 'minify', alias: 'm', type: Boolean, defaultValue: false },
|
||||
{ name: 'prettier', alias: 'p', type: Boolean, defaultValue: false },
|
||||
{ name: 'srccomment', alias: 's', type: Boolean, defaultValue: false },
|
||||
{ name: 'baseurl', alias: 'bu', type: String, defaultValue: '' },
|
||||
{ name: 'remotebranch', alias: 'rb', type: String, defaultValue: 'main' },
|
||||
{ name: 'scriptsdir', alias: 'sd', type: String, defaultValue: 'scripts' },
|
||||
{ name: 'distdir', alias: 'dd', type: String, defaultValue: 'dist' },
|
||||
{ name: 'srccomment', alias: 'c', type: Boolean, defaultValue: false },
|
||||
{ name: 'baseurl', alias: 'u', type: String, defaultValue: '' },
|
||||
{ name: 'remotebranch', alias: 'b', type: String, defaultValue: 'main' },
|
||||
{ name: 'scriptsdir', alias: 's', type: String, defaultValue: 'scripts' },
|
||||
{ name: 'distdir', alias: 'd', type: String, defaultValue: 'dist' },
|
||||
{ name: 'help', alias: 'h', type: Boolean },
|
||||
]);
|
||||
exports.AllPaths = (0, paths_1.default)({
|
||||
|
||||
Reference in New Issue
Block a user