@optique/run 1.4.0-dev.2897 → 1.4.0-dev.2928
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 -0
- package/dist/run.d.cts +10 -0
- package/dist/run.d.ts +10 -0
- package/dist/run.js +1 -0
- package/package.json +4 -4
package/dist/run.cjs
CHANGED
package/dist/run.d.cts
CHANGED
|
@@ -299,6 +299,16 @@ interface RunOptions {
|
|
|
299
299
|
* @default `"usage"`
|
|
300
300
|
*/
|
|
301
301
|
readonly aboveError?: "usage" | "help" | "none";
|
|
302
|
+
/**
|
|
303
|
+
* Scope of the compact preamble when `aboveError` is `"usage"`.
|
|
304
|
+
* `"command"` shows the matched canonical command's grammar, retaining
|
|
305
|
+
* parent options and falling back to root for hidden or uncertain paths.
|
|
306
|
+
* This does not affect full help or help-only `usageLine` overrides.
|
|
307
|
+
*
|
|
308
|
+
* @default `"root"`
|
|
309
|
+
* @since 1.4.0
|
|
310
|
+
*/
|
|
311
|
+
readonly errorUsage?: "root" | "command";
|
|
302
312
|
/**
|
|
303
313
|
* The exit code to use when the parser encounters an error.
|
|
304
314
|
*
|
package/dist/run.d.ts
CHANGED
|
@@ -299,6 +299,16 @@ interface RunOptions {
|
|
|
299
299
|
* @default `"usage"`
|
|
300
300
|
*/
|
|
301
301
|
readonly aboveError?: "usage" | "help" | "none";
|
|
302
|
+
/**
|
|
303
|
+
* Scope of the compact preamble when `aboveError` is `"usage"`.
|
|
304
|
+
* `"command"` shows the matched canonical command's grammar, retaining
|
|
305
|
+
* parent options and falling back to root for hidden or uncertain paths.
|
|
306
|
+
* This does not affect full help or help-only `usageLine` overrides.
|
|
307
|
+
*
|
|
308
|
+
* @default `"root"`
|
|
309
|
+
* @since 1.4.0
|
|
310
|
+
*/
|
|
311
|
+
readonly errorUsage?: "root" | "command";
|
|
302
312
|
/**
|
|
303
313
|
* The exit code to use when the parser encounters an error.
|
|
304
314
|
*
|
package/dist/run.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/run",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.2928",
|
|
4
4
|
"description": "Type-safe combinatorial command-line interface parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
},
|
|
77
77
|
"sideEffects": false,
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@optique/core": "1.4.0-dev.
|
|
79
|
+
"@optique/core": "1.4.0-dev.2928+80c003f2"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@optique/config": "1.4.0-dev.
|
|
83
|
-
"@optique/env": "1.4.0-dev.
|
|
82
|
+
"@optique/config": "1.4.0-dev.2928+80c003f2",
|
|
83
|
+
"@optique/env": "1.4.0-dev.2928+80c003f2",
|
|
84
84
|
"@types/node": "^24.0.0",
|
|
85
85
|
"fast-check": "^4.7.0",
|
|
86
86
|
"tsdown": "^0.13.0",
|