@revturbine/cli 0.19.0 → 0.19.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/cli.js +16 -15
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -16435,22 +16435,23 @@ if (process.argv.includes("-V") || process.argv.includes("--version")) {
|
|
|
16435
16435
|
}
|
|
16436
16436
|
} catch {
|
|
16437
16437
|
}
|
|
16438
|
-
process.
|
|
16439
|
-
}
|
|
16440
|
-
program.exitOverride();
|
|
16441
|
-
try {
|
|
16442
|
-
|
|
16443
|
-
} catch (err) {
|
|
16444
|
-
|
|
16445
|
-
|
|
16446
|
-
|
|
16438
|
+
process.exitCode = EXIT.OK;
|
|
16439
|
+
} else {
|
|
16440
|
+
program.exitOverride();
|
|
16441
|
+
try {
|
|
16442
|
+
await program.parseAsync(process.argv);
|
|
16443
|
+
} catch (err) {
|
|
16444
|
+
if (err instanceof CommanderError) {
|
|
16445
|
+
if (err.code === "commander.helpDisplayed" || err.code === "commander.version" || err.code === "commander.help") {
|
|
16446
|
+
process.exit(0);
|
|
16447
|
+
}
|
|
16448
|
+
process.exit(EXIT.USAGE);
|
|
16449
|
+
}
|
|
16450
|
+
if (err instanceof SelectorError) {
|
|
16451
|
+
console.error(`[revturbine] \u2717 ${err.message}`);
|
|
16452
|
+
process.exit(EXIT.USAGE);
|
|
16447
16453
|
}
|
|
16448
|
-
process.exit(EXIT.USAGE);
|
|
16449
|
-
}
|
|
16450
|
-
if (err instanceof SelectorError) {
|
|
16451
16454
|
console.error(`[revturbine] \u2717 ${err.message}`);
|
|
16452
|
-
process.exit(EXIT.
|
|
16455
|
+
process.exit(EXIT.UNEXPECTED);
|
|
16453
16456
|
}
|
|
16454
|
-
console.error(`[revturbine] \u2717 ${err.message}`);
|
|
16455
|
-
process.exit(EXIT.UNEXPECTED);
|
|
16456
16457
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revturbine/cli",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "revturbine — validate RevTurbine Playbooks and ship them to a RevTurbine instance through the playbook-version lifecycle (draft → Release).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|