@ultikits/cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin/ultikits.js
CHANGED
|
@@ -11,7 +11,7 @@ const program = new Command();
|
|
|
11
11
|
program
|
|
12
12
|
.name('ultikits')
|
|
13
13
|
.description('CLI for publishing UltiTools plugin modules to UltiCloud')
|
|
14
|
-
.version('1.0.
|
|
14
|
+
.version('1.0.1');
|
|
15
15
|
registerLoginCommand(program);
|
|
16
16
|
registerLogoutCommand(program);
|
|
17
17
|
registerWhoamiCommand(program);
|
|
@@ -9,7 +9,7 @@ import * as log from '../lib/logger.js';
|
|
|
9
9
|
export function resolveMetadata(flags, projectConfig, pluginYml) {
|
|
10
10
|
const identifyString = flags.id ?? projectConfig?.identifyString;
|
|
11
11
|
const name = flags.name ?? projectConfig?.name ?? pluginYml?.name;
|
|
12
|
-
const version = flags.
|
|
12
|
+
const version = flags.moduleVersion ?? pluginYml?.version;
|
|
13
13
|
const shortDescription = flags.shortDescription ?? projectConfig?.shortDescription ?? pluginYml?.description;
|
|
14
14
|
const changelog = flags.changelog;
|
|
15
15
|
const categoryId = projectConfig?.categoryId;
|
|
@@ -38,7 +38,7 @@ export function registerPublishCommand(program) {
|
|
|
38
38
|
.description('Publish a plugin module to UltiCloud')
|
|
39
39
|
.option('--id <identifyString>', 'Module identify string')
|
|
40
40
|
.option('--name <name>', 'Module display name')
|
|
41
|
-
.option('--version <version>', 'Module version')
|
|
41
|
+
.option('--module-version <version>', 'Module version')
|
|
42
42
|
.option('--changelog <text>', 'Version changelog')
|
|
43
43
|
.option('--short-description <text>', 'Short description')
|
|
44
44
|
.option('-y, --yes', 'Skip confirmation prompts')
|