v1.1.6 added homepageUrl argument

This commit is contained in:
2024-07-17 21:18:14 -05:00
parent 9c4fe7d3ea
commit 8247860806
8 changed files with 27 additions and 11 deletions

View File

@@ -43,6 +43,7 @@ exports.CLIArgs = (0, command_line_args_1.default)([
{ name: 'readme', alias: 'r', type: Boolean, defaultValue: false },
{ name: 'url', alias: 'u', type: String, defaultValue: '' },
{ name: 'supporturl', alias: 's', type: String, defaultValue: '' },
{ name: 'homepageurl', alias: 'U', type: String, defaultValue: '' },
{ name: 'remotebranch', alias: 'b', type: String, defaultValue: '' },
{ name: 'in', alias: 'i', type: String, defaultValue: 'scripts' },
{ name: 'out', alias: 'o', type: String, defaultValue: 'dist' },
@@ -51,6 +52,7 @@ exports.CLIArgs = (0, command_line_args_1.default)([
exports.AllPaths = (0, paths_1.default)({
baseUrl: exports.CLIArgs.url || '',
supportUrl: exports.CLIArgs.supporturl || '',
homepageUrl: exports.CLIArgs.homepageurl || '',
remoteBranch: exports.CLIArgs.remotebranch || '',
inBase: exports.CLIArgs.in || 'scripts',
outBase: exports.CLIArgs.out || 'dist',