cli arg aliases can only be 1 char

This commit is contained in:
2022-08-24 11:21:52 -05:00
parent 83570d9535
commit 7e24370186
4 changed files with 12 additions and 12 deletions

View File

@@ -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)({