@norrix/cli 0.0.56 → 0.0.57
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/README.md +1 -1
- package/dist/cli.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ if (process.env.CI && !process.env.NORRIX_NO_ANIM) {
|
|
|
39
39
|
program
|
|
40
40
|
.name('norrix')
|
|
41
41
|
.description('Norrix CLI - NativeScript build and deployment tool')
|
|
42
|
-
.version(pkgVersion, '-
|
|
42
|
+
.version(pkgVersion, '-V, --version', 'Display version with 80s-style ASCII art')
|
|
43
43
|
.option('--verbose', 'Enable verbose error output (stack traces)')
|
|
44
44
|
.option('-n, --non-interactive', 'Disable interactive prompts and animations')
|
|
45
45
|
.option('--env <env>', 'Target Norrix environment (prod or dev)', 'prod')
|
|
@@ -61,7 +61,7 @@ program.configureOutput({
|
|
|
61
61
|
writeErr: (str) => process.stderr.write(str),
|
|
62
62
|
});
|
|
63
63
|
const rawArgs = process.argv.slice(2);
|
|
64
|
-
const isVersionOnly = rawArgs.length === 1 && (rawArgs[0] === '-
|
|
64
|
+
const isVersionOnly = rawArgs.length === 1 && (rawArgs[0] === '-V' || rawArgs[0] === '--version');
|
|
65
65
|
// Ensure the global verbose flag is set before any command action runs
|
|
66
66
|
// so that all commands receive the correct "verbose" boolean.
|
|
67
67
|
program.hook('preAction', (thisCommand) => {
|