@optique/run 0.9.0-dev.175 → 0.9.0-dev.176
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/run.cjs +1 -1
- package/dist/run.js +2 -2
- package/package.json +2 -2
package/dist/run.cjs
CHANGED
|
@@ -84,7 +84,7 @@ function run(parser, options = {}) {
|
|
|
84
84
|
name: typeof completion === "string" ? "both" : completion.name ?? "both",
|
|
85
85
|
onShow: () => node_process.default.exit(0)
|
|
86
86
|
} : void 0;
|
|
87
|
-
return (0, __optique_core_facade.
|
|
87
|
+
return (0, __optique_core_facade.runParser)(parser, programName, args, {
|
|
88
88
|
stderr(line) {
|
|
89
89
|
node_process.default.stderr.write(`${line}\n`);
|
|
90
90
|
},
|
package/dist/run.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { runParser } from "@optique/core/facade";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
|
|
@@ -83,7 +83,7 @@ function run(parser, options = {}) {
|
|
|
83
83
|
name: typeof completion === "string" ? "both" : completion.name ?? "both",
|
|
84
84
|
onShow: () => process.exit(0)
|
|
85
85
|
} : void 0;
|
|
86
|
-
return
|
|
86
|
+
return runParser(parser, programName, args, {
|
|
87
87
|
stderr(line) {
|
|
88
88
|
process.stderr.write(`${line}\n`);
|
|
89
89
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/run",
|
|
3
|
-
"version": "0.9.0-dev.
|
|
3
|
+
"version": "0.9.0-dev.176+1350294a",
|
|
4
4
|
"description": "Type-safe combinatorial command-line interface parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@optique/core": "0.9.0-dev.
|
|
73
|
+
"@optique/core": "0.9.0-dev.176+1350294a"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/node": "^20.19.9",
|