@optique/config 0.10.0-dev.369 → 0.10.0-dev.370

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 CHANGED
@@ -154,6 +154,7 @@ async function runWithConfig(parser, context, options) {
154
154
  colors: options.colors,
155
155
  maxWidth: options.maxWidth,
156
156
  showDefault: options.showDefault,
157
+ showChoices: options.showChoices,
157
158
  aboveError: options.aboveError,
158
159
  brief: options.brief,
159
160
  description: options.description,
package/dist/run.d.cts CHANGED
@@ -72,6 +72,10 @@ interface SingleFileOptions<TValue, THelp = void, TError = never> {
72
72
  * Whether and how to display default values. See RunOptions for details.
73
73
  */
74
74
  readonly showDefault?: RunOptions<THelp, TError>["showDefault"];
75
+ /**
76
+ * Whether and how to display valid choices. See RunOptions for details.
77
+ */
78
+ readonly showChoices?: RunOptions<THelp, TError>["showChoices"];
75
79
  /**
76
80
  * What to display above error messages. See RunOptions for details.
77
81
  */
@@ -167,6 +171,10 @@ interface CustomLoadOptions<TValue, THelp = void, TError = never> {
167
171
  * Whether and how to display default values. See RunOptions for details.
168
172
  */
169
173
  readonly showDefault?: RunOptions<THelp, TError>["showDefault"];
174
+ /**
175
+ * Whether and how to display valid choices. See RunOptions for details.
176
+ */
177
+ readonly showChoices?: RunOptions<THelp, TError>["showChoices"];
170
178
  /**
171
179
  * What to display above error messages. See RunOptions for details.
172
180
  */
package/dist/run.d.ts CHANGED
@@ -72,6 +72,10 @@ interface SingleFileOptions<TValue, THelp = void, TError = never> {
72
72
  * Whether and how to display default values. See RunOptions for details.
73
73
  */
74
74
  readonly showDefault?: RunOptions<THelp, TError>["showDefault"];
75
+ /**
76
+ * Whether and how to display valid choices. See RunOptions for details.
77
+ */
78
+ readonly showChoices?: RunOptions<THelp, TError>["showChoices"];
75
79
  /**
76
80
  * What to display above error messages. See RunOptions for details.
77
81
  */
@@ -167,6 +171,10 @@ interface CustomLoadOptions<TValue, THelp = void, TError = never> {
167
171
  * Whether and how to display default values. See RunOptions for details.
168
172
  */
169
173
  readonly showDefault?: RunOptions<THelp, TError>["showDefault"];
174
+ /**
175
+ * Whether and how to display valid choices. See RunOptions for details.
176
+ */
177
+ readonly showChoices?: RunOptions<THelp, TError>["showChoices"];
170
178
  /**
171
179
  * What to display above error messages. See RunOptions for details.
172
180
  */
package/dist/run.js CHANGED
@@ -154,6 +154,7 @@ async function runWithConfig(parser, context, options) {
154
154
  colors: options.colors,
155
155
  maxWidth: options.maxWidth,
156
156
  showDefault: options.showDefault,
157
+ showChoices: options.showChoices,
157
158
  aboveError: options.aboveError,
158
159
  brief: options.brief,
159
160
  description: options.description,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/config",
3
- "version": "0.10.0-dev.369+ceed7dcf",
3
+ "version": "0.10.0-dev.370+bae705cb",
4
4
  "description": "Configuration file support for Optique with Standard Schema validation",
5
5
  "keywords": [
6
6
  "CLI",
@@ -67,7 +67,7 @@
67
67
  "@standard-schema/spec": "^1.1.0"
68
68
  },
69
69
  "dependencies": {
70
- "@optique/core": "0.10.0-dev.369+ceed7dcf"
70
+ "@optique/core": "0.10.0-dev.370+bae705cb"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@standard-schema/spec": "^1.1.0",