massarg 2.0.0 → 2.1.0

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/help.d.ts CHANGED
@@ -2,83 +2,57 @@ import z from 'zod';
2
2
  import { MassargCommand } from './command';
3
3
  import { DeepRequired } from './utils';
4
4
  export declare const GenerateTableCommandConfig: z.ZodObject<{
5
- /** Length of each row in the table */
6
5
  lineLength: z.ZodOptional<z.ZodNumber>;
7
- /** When `false`, each row is separated by a blank line */
8
6
  compact: z.ZodOptional<z.ZodBoolean>;
9
- /** Style of the command/option name */
10
7
  nameStyle: z.ZodOptional<z.ZodObject<{
11
8
  bold: z.ZodOptional<z.ZodBoolean>;
12
9
  underline: z.ZodOptional<z.ZodBoolean>;
13
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
10
+ color: z.ZodOptional<z.ZodEnum<{
11
+ red: "red";
12
+ green: "green";
13
+ yellow: "yellow";
14
+ blue: "blue";
15
+ magenta: "magenta";
16
+ cyan: "cyan";
17
+ white: "white";
18
+ gray: "gray";
19
+ grey: "grey";
20
+ brightRed: "brightRed";
21
+ brightGreen: "brightGreen";
22
+ brightYellow: "brightYellow";
23
+ brightBlue: "brightBlue";
24
+ brightMagenta: "brightMagenta";
25
+ brightCyan: "brightCyan";
26
+ brightWhite: "brightWhite";
27
+ }>>;
14
28
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
15
- }, "strip", z.ZodTypeAny, {
16
- bold?: boolean | undefined;
17
- underline?: boolean | undefined;
18
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
19
- reset?: boolean | undefined;
20
- }, {
21
- bold?: boolean | undefined;
22
- underline?: boolean | undefined;
23
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
24
- reset?: boolean | undefined;
25
- }>>;
26
- /** Style of the command/option description */
29
+ }, z.core.$strip>>;
27
30
  descriptionStyle: z.ZodOptional<z.ZodObject<{
28
31
  bold: z.ZodOptional<z.ZodBoolean>;
29
32
  underline: z.ZodOptional<z.ZodBoolean>;
30
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
33
+ color: z.ZodOptional<z.ZodEnum<{
34
+ red: "red";
35
+ green: "green";
36
+ yellow: "yellow";
37
+ blue: "blue";
38
+ magenta: "magenta";
39
+ cyan: "cyan";
40
+ white: "white";
41
+ gray: "gray";
42
+ grey: "grey";
43
+ brightRed: "brightRed";
44
+ brightGreen: "brightGreen";
45
+ brightYellow: "brightYellow";
46
+ brightBlue: "brightBlue";
47
+ brightMagenta: "brightMagenta";
48
+ brightCyan: "brightCyan";
49
+ brightWhite: "brightWhite";
50
+ }>>;
31
51
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
32
- }, "strip", z.ZodTypeAny, {
33
- bold?: boolean | undefined;
34
- underline?: boolean | undefined;
35
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
36
- reset?: boolean | undefined;
37
- }, {
38
- bold?: boolean | undefined;
39
- underline?: boolean | undefined;
40
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
41
- reset?: boolean | undefined;
42
- }>>;
43
- /** Prefix for the command/option name (default is the command's prefix) */
52
+ }, z.core.$strip>>;
44
53
  namePrefix: z.ZodOptional<z.ZodString>;
45
- /** Prefix for the command/option aliases (default is the command's prefix) */
46
54
  aliasPrefix: z.ZodOptional<z.ZodString>;
47
- }, "strip", z.ZodTypeAny, {
48
- lineLength?: number | undefined;
49
- compact?: boolean | undefined;
50
- nameStyle?: {
51
- bold?: boolean | undefined;
52
- underline?: boolean | undefined;
53
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
54
- reset?: boolean | undefined;
55
- } | undefined;
56
- descriptionStyle?: {
57
- bold?: boolean | undefined;
58
- underline?: boolean | undefined;
59
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
60
- reset?: boolean | undefined;
61
- } | undefined;
62
- namePrefix?: string | undefined;
63
- aliasPrefix?: string | undefined;
64
- }, {
65
- lineLength?: number | undefined;
66
- compact?: boolean | undefined;
67
- nameStyle?: {
68
- bold?: boolean | undefined;
69
- underline?: boolean | undefined;
70
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
71
- reset?: boolean | undefined;
72
- } | undefined;
73
- descriptionStyle?: {
74
- bold?: boolean | undefined;
75
- underline?: boolean | undefined;
76
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
77
- reset?: boolean | undefined;
78
- } | undefined;
79
- namePrefix?: string | undefined;
80
- aliasPrefix?: string | undefined;
81
- }>;
55
+ }, z.core.$strip>;
82
56
  export type GenerateTableCommandConfig = z.infer<typeof GenerateTableCommandConfig>;
83
57
  export declare const GenerateTableOptionConfig: z.ZodObject<{
84
58
  lineLength: z.ZodOptional<z.ZodNumber>;
@@ -86,35 +60,49 @@ export declare const GenerateTableOptionConfig: z.ZodObject<{
86
60
  nameStyle: z.ZodOptional<z.ZodObject<{
87
61
  bold: z.ZodOptional<z.ZodBoolean>;
88
62
  underline: z.ZodOptional<z.ZodBoolean>;
89
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
63
+ color: z.ZodOptional<z.ZodEnum<{
64
+ red: "red";
65
+ green: "green";
66
+ yellow: "yellow";
67
+ blue: "blue";
68
+ magenta: "magenta";
69
+ cyan: "cyan";
70
+ white: "white";
71
+ gray: "gray";
72
+ grey: "grey";
73
+ brightRed: "brightRed";
74
+ brightGreen: "brightGreen";
75
+ brightYellow: "brightYellow";
76
+ brightBlue: "brightBlue";
77
+ brightMagenta: "brightMagenta";
78
+ brightCyan: "brightCyan";
79
+ brightWhite: "brightWhite";
80
+ }>>;
90
81
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
91
- }, "strip", z.ZodTypeAny, {
92
- bold?: boolean | undefined;
93
- underline?: boolean | undefined;
94
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
95
- reset?: boolean | undefined;
96
- }, {
97
- bold?: boolean | undefined;
98
- underline?: boolean | undefined;
99
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
100
- reset?: boolean | undefined;
101
- }>>;
82
+ }, z.core.$strip>>;
102
83
  descriptionStyle: z.ZodOptional<z.ZodObject<{
103
84
  bold: z.ZodOptional<z.ZodBoolean>;
104
85
  underline: z.ZodOptional<z.ZodBoolean>;
105
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
86
+ color: z.ZodOptional<z.ZodEnum<{
87
+ red: "red";
88
+ green: "green";
89
+ yellow: "yellow";
90
+ blue: "blue";
91
+ magenta: "magenta";
92
+ cyan: "cyan";
93
+ white: "white";
94
+ gray: "gray";
95
+ grey: "grey";
96
+ brightRed: "brightRed";
97
+ brightGreen: "brightGreen";
98
+ brightYellow: "brightYellow";
99
+ brightBlue: "brightBlue";
100
+ brightMagenta: "brightMagenta";
101
+ brightCyan: "brightCyan";
102
+ brightWhite: "brightWhite";
103
+ }>>;
106
104
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
107
- }, "strip", z.ZodTypeAny, {
108
- bold?: boolean | undefined;
109
- underline?: boolean | undefined;
110
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
111
- reset?: boolean | undefined;
112
- }, {
113
- bold?: boolean | undefined;
114
- underline?: boolean | undefined;
115
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
116
- reset?: boolean | undefined;
117
- }>>;
105
+ }, z.core.$strip>>;
118
106
  namePrefix: z.ZodOptional<z.ZodString>;
119
107
  aliasPrefix: z.ZodOptional<z.ZodString>;
120
108
  displayNegations: z.ZodOptional<z.ZodBoolean>;
@@ -122,199 +110,131 @@ export declare const GenerateTableOptionConfig: z.ZodObject<{
122
110
  defaultValueStyle: z.ZodOptional<z.ZodObject<{
123
111
  bold: z.ZodOptional<z.ZodBoolean>;
124
112
  underline: z.ZodOptional<z.ZodBoolean>;
125
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
113
+ color: z.ZodOptional<z.ZodEnum<{
114
+ red: "red";
115
+ green: "green";
116
+ yellow: "yellow";
117
+ blue: "blue";
118
+ magenta: "magenta";
119
+ cyan: "cyan";
120
+ white: "white";
121
+ gray: "gray";
122
+ grey: "grey";
123
+ brightRed: "brightRed";
124
+ brightGreen: "brightGreen";
125
+ brightYellow: "brightYellow";
126
+ brightBlue: "brightBlue";
127
+ brightMagenta: "brightMagenta";
128
+ brightCyan: "brightCyan";
129
+ brightWhite: "brightWhite";
130
+ }>>;
126
131
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
127
- }, "strip", z.ZodTypeAny, {
128
- bold?: boolean | undefined;
129
- underline?: boolean | undefined;
130
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
131
- reset?: boolean | undefined;
132
- }, {
133
- bold?: boolean | undefined;
134
- underline?: boolean | undefined;
135
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
136
- reset?: boolean | undefined;
137
- }>>;
138
- }, "strip", z.ZodTypeAny, {
139
- lineLength?: number | undefined;
140
- compact?: boolean | undefined;
141
- nameStyle?: {
142
- bold?: boolean | undefined;
143
- underline?: boolean | undefined;
144
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
145
- reset?: boolean | undefined;
146
- } | undefined;
147
- descriptionStyle?: {
148
- bold?: boolean | undefined;
149
- underline?: boolean | undefined;
150
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
151
- reset?: boolean | undefined;
152
- } | undefined;
153
- namePrefix?: string | undefined;
154
- aliasPrefix?: string | undefined;
155
- displayNegations?: boolean | undefined;
156
- displayDefaultValue?: boolean | undefined;
157
- defaultValueStyle?: {
158
- bold?: boolean | undefined;
159
- underline?: boolean | undefined;
160
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
161
- reset?: boolean | undefined;
162
- } | undefined;
163
- }, {
164
- lineLength?: number | undefined;
165
- compact?: boolean | undefined;
166
- nameStyle?: {
167
- bold?: boolean | undefined;
168
- underline?: boolean | undefined;
169
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
170
- reset?: boolean | undefined;
171
- } | undefined;
172
- descriptionStyle?: {
173
- bold?: boolean | undefined;
174
- underline?: boolean | undefined;
175
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
176
- reset?: boolean | undefined;
177
- } | undefined;
178
- namePrefix?: string | undefined;
179
- aliasPrefix?: string | undefined;
180
- displayNegations?: boolean | undefined;
181
- displayDefaultValue?: boolean | undefined;
182
- defaultValueStyle?: {
183
- bold?: boolean | undefined;
184
- underline?: boolean | undefined;
185
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
186
- reset?: boolean | undefined;
187
- } | undefined;
188
- }>;
132
+ }, z.core.$strip>>;
133
+ }, z.core.$strip>;
189
134
  export type GenerateTableOptionConfig = z.infer<typeof GenerateTableOptionConfig>;
190
135
  export declare const HelpConfig: z.ZodObject<{
191
- /**
192
- * Whether to bind the help command to this command
193
- *
194
- * Set this to `true` to automatically add a `help` command to this command's subcommands.
195
- */
196
136
  bindCommand: z.ZodOptional<z.ZodBoolean>;
197
- /**
198
- * Whether to bind the help option to this command
199
- *
200
- * Set this to `true` to automatically add a `--help` option to this command's options.
201
- */
202
137
  bindOption: z.ZodOptional<z.ZodBoolean>;
203
- /** Whether to align all tables to the column widths, or have each table be independent. Default is `true` */
204
138
  useGlobalTableColumns: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
205
- /** Options for generating the table of commands */
206
- commandOptions: z.ZodOptional<z.ZodObject<Omit<{
207
- /** Length of each row in the table */
208
- lineLength: z.ZodOptional<z.ZodNumber>;
209
- /** When `false`, each row is separated by a blank line */
139
+ commandOptions: z.ZodOptional<z.ZodObject<{
210
140
  compact: z.ZodOptional<z.ZodBoolean>;
211
- /** Style of the command/option name */
212
141
  nameStyle: z.ZodOptional<z.ZodObject<{
213
142
  bold: z.ZodOptional<z.ZodBoolean>;
214
143
  underline: z.ZodOptional<z.ZodBoolean>;
215
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
144
+ color: z.ZodOptional<z.ZodEnum<{
145
+ red: "red";
146
+ green: "green";
147
+ yellow: "yellow";
148
+ blue: "blue";
149
+ magenta: "magenta";
150
+ cyan: "cyan";
151
+ white: "white";
152
+ gray: "gray";
153
+ grey: "grey";
154
+ brightRed: "brightRed";
155
+ brightGreen: "brightGreen";
156
+ brightYellow: "brightYellow";
157
+ brightBlue: "brightBlue";
158
+ brightMagenta: "brightMagenta";
159
+ brightCyan: "brightCyan";
160
+ brightWhite: "brightWhite";
161
+ }>>;
216
162
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
217
- }, "strip", z.ZodTypeAny, {
218
- bold?: boolean | undefined;
219
- underline?: boolean | undefined;
220
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
221
- reset?: boolean | undefined;
222
- }, {
223
- bold?: boolean | undefined;
224
- underline?: boolean | undefined;
225
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
226
- reset?: boolean | undefined;
227
- }>>;
228
- /** Style of the command/option description */
163
+ }, z.core.$strip>>;
229
164
  descriptionStyle: z.ZodOptional<z.ZodObject<{
230
165
  bold: z.ZodOptional<z.ZodBoolean>;
231
166
  underline: z.ZodOptional<z.ZodBoolean>;
232
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
167
+ color: z.ZodOptional<z.ZodEnum<{
168
+ red: "red";
169
+ green: "green";
170
+ yellow: "yellow";
171
+ blue: "blue";
172
+ magenta: "magenta";
173
+ cyan: "cyan";
174
+ white: "white";
175
+ gray: "gray";
176
+ grey: "grey";
177
+ brightRed: "brightRed";
178
+ brightGreen: "brightGreen";
179
+ brightYellow: "brightYellow";
180
+ brightBlue: "brightBlue";
181
+ brightMagenta: "brightMagenta";
182
+ brightCyan: "brightCyan";
183
+ brightWhite: "brightWhite";
184
+ }>>;
233
185
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
234
- }, "strip", z.ZodTypeAny, {
235
- bold?: boolean | undefined;
236
- underline?: boolean | undefined;
237
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
238
- reset?: boolean | undefined;
239
- }, {
240
- bold?: boolean | undefined;
241
- underline?: boolean | undefined;
242
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
243
- reset?: boolean | undefined;
244
- }>>;
245
- /** Prefix for the command/option name (default is the command's prefix) */
186
+ }, z.core.$strip>>;
246
187
  namePrefix: z.ZodOptional<z.ZodString>;
247
- /** Prefix for the command/option aliases (default is the command's prefix) */
248
188
  aliasPrefix: z.ZodOptional<z.ZodString>;
249
- }, "lineLength" | "defaultValueStyle" | "dislayDefaultValue">, "strip", z.ZodTypeAny, {
250
- compact?: boolean | undefined;
251
- nameStyle?: {
252
- bold?: boolean | undefined;
253
- underline?: boolean | undefined;
254
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
255
- reset?: boolean | undefined;
256
- } | undefined;
257
- descriptionStyle?: {
258
- bold?: boolean | undefined;
259
- underline?: boolean | undefined;
260
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
261
- reset?: boolean | undefined;
262
- } | undefined;
263
- namePrefix?: string | undefined;
264
- aliasPrefix?: string | undefined;
265
- }, {
266
- compact?: boolean | undefined;
267
- nameStyle?: {
268
- bold?: boolean | undefined;
269
- underline?: boolean | undefined;
270
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
271
- reset?: boolean | undefined;
272
- } | undefined;
273
- descriptionStyle?: {
274
- bold?: boolean | undefined;
275
- underline?: boolean | undefined;
276
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
277
- reset?: boolean | undefined;
278
- } | undefined;
279
- namePrefix?: string | undefined;
280
- aliasPrefix?: string | undefined;
281
- }>>;
282
- /** Options for generating the table of options */
283
- optionOptions: z.ZodOptional<z.ZodObject<Omit<{
284
- lineLength: z.ZodOptional<z.ZodNumber>;
189
+ }, z.core.$strip>>;
190
+ optionOptions: z.ZodOptional<z.ZodObject<{
285
191
  compact: z.ZodOptional<z.ZodBoolean>;
286
192
  nameStyle: z.ZodOptional<z.ZodObject<{
287
193
  bold: z.ZodOptional<z.ZodBoolean>;
288
194
  underline: z.ZodOptional<z.ZodBoolean>;
289
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
195
+ color: z.ZodOptional<z.ZodEnum<{
196
+ red: "red";
197
+ green: "green";
198
+ yellow: "yellow";
199
+ blue: "blue";
200
+ magenta: "magenta";
201
+ cyan: "cyan";
202
+ white: "white";
203
+ gray: "gray";
204
+ grey: "grey";
205
+ brightRed: "brightRed";
206
+ brightGreen: "brightGreen";
207
+ brightYellow: "brightYellow";
208
+ brightBlue: "brightBlue";
209
+ brightMagenta: "brightMagenta";
210
+ brightCyan: "brightCyan";
211
+ brightWhite: "brightWhite";
212
+ }>>;
290
213
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
291
- }, "strip", z.ZodTypeAny, {
292
- bold?: boolean | undefined;
293
- underline?: boolean | undefined;
294
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
295
- reset?: boolean | undefined;
296
- }, {
297
- bold?: boolean | undefined;
298
- underline?: boolean | undefined;
299
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
300
- reset?: boolean | undefined;
301
- }>>;
214
+ }, z.core.$strip>>;
302
215
  descriptionStyle: z.ZodOptional<z.ZodObject<{
303
216
  bold: z.ZodOptional<z.ZodBoolean>;
304
217
  underline: z.ZodOptional<z.ZodBoolean>;
305
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
218
+ color: z.ZodOptional<z.ZodEnum<{
219
+ red: "red";
220
+ green: "green";
221
+ yellow: "yellow";
222
+ blue: "blue";
223
+ magenta: "magenta";
224
+ cyan: "cyan";
225
+ white: "white";
226
+ gray: "gray";
227
+ grey: "grey";
228
+ brightRed: "brightRed";
229
+ brightGreen: "brightGreen";
230
+ brightYellow: "brightYellow";
231
+ brightBlue: "brightBlue";
232
+ brightMagenta: "brightMagenta";
233
+ brightCyan: "brightCyan";
234
+ brightWhite: "brightWhite";
235
+ }>>;
306
236
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
307
- }, "strip", z.ZodTypeAny, {
308
- bold?: boolean | undefined;
309
- underline?: boolean | undefined;
310
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
311
- reset?: boolean | undefined;
312
- }, {
313
- bold?: boolean | undefined;
314
- underline?: boolean | undefined;
315
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
316
- reset?: boolean | undefined;
317
- }>>;
237
+ }, z.core.$strip>>;
318
238
  namePrefix: z.ZodOptional<z.ZodString>;
319
239
  aliasPrefix: z.ZodOptional<z.ZodString>;
320
240
  displayNegations: z.ZodOptional<z.ZodBoolean>;
@@ -322,689 +242,338 @@ export declare const HelpConfig: z.ZodObject<{
322
242
  defaultValueStyle: z.ZodOptional<z.ZodObject<{
323
243
  bold: z.ZodOptional<z.ZodBoolean>;
324
244
  underline: z.ZodOptional<z.ZodBoolean>;
325
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
245
+ color: z.ZodOptional<z.ZodEnum<{
246
+ red: "red";
247
+ green: "green";
248
+ yellow: "yellow";
249
+ blue: "blue";
250
+ magenta: "magenta";
251
+ cyan: "cyan";
252
+ white: "white";
253
+ gray: "gray";
254
+ grey: "grey";
255
+ brightRed: "brightRed";
256
+ brightGreen: "brightGreen";
257
+ brightYellow: "brightYellow";
258
+ brightBlue: "brightBlue";
259
+ brightMagenta: "brightMagenta";
260
+ brightCyan: "brightCyan";
261
+ brightWhite: "brightWhite";
262
+ }>>;
326
263
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
327
- }, "strip", z.ZodTypeAny, {
328
- bold?: boolean | undefined;
329
- underline?: boolean | undefined;
330
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
331
- reset?: boolean | undefined;
332
- }, {
333
- bold?: boolean | undefined;
334
- underline?: boolean | undefined;
335
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
336
- reset?: boolean | undefined;
337
- }>>;
338
- }, "lineLength">, "strip", z.ZodTypeAny, {
339
- compact?: boolean | undefined;
340
- nameStyle?: {
341
- bold?: boolean | undefined;
342
- underline?: boolean | undefined;
343
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
344
- reset?: boolean | undefined;
345
- } | undefined;
346
- descriptionStyle?: {
347
- bold?: boolean | undefined;
348
- underline?: boolean | undefined;
349
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
350
- reset?: boolean | undefined;
351
- } | undefined;
352
- namePrefix?: string | undefined;
353
- aliasPrefix?: string | undefined;
354
- displayNegations?: boolean | undefined;
355
- displayDefaultValue?: boolean | undefined;
356
- defaultValueStyle?: {
357
- bold?: boolean | undefined;
358
- underline?: boolean | undefined;
359
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
360
- reset?: boolean | undefined;
361
- } | undefined;
362
- }, {
363
- compact?: boolean | undefined;
364
- nameStyle?: {
365
- bold?: boolean | undefined;
366
- underline?: boolean | undefined;
367
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
368
- reset?: boolean | undefined;
369
- } | undefined;
370
- descriptionStyle?: {
371
- bold?: boolean | undefined;
372
- underline?: boolean | undefined;
373
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
374
- reset?: boolean | undefined;
375
- } | undefined;
376
- namePrefix?: string | undefined;
377
- aliasPrefix?: string | undefined;
378
- displayNegations?: boolean | undefined;
379
- displayDefaultValue?: boolean | undefined;
380
- defaultValueStyle?: {
381
- bold?: boolean | undefined;
382
- underline?: boolean | undefined;
383
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
384
- reset?: boolean | undefined;
385
- } | undefined;
386
- }>>;
387
- /** Style of the help title */
264
+ }, z.core.$strip>>;
265
+ }, z.core.$strip>>;
388
266
  titleStyle: z.ZodOptional<z.ZodObject<{
389
267
  bold: z.ZodOptional<z.ZodBoolean>;
390
268
  underline: z.ZodOptional<z.ZodBoolean>;
391
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
269
+ color: z.ZodOptional<z.ZodEnum<{
270
+ red: "red";
271
+ green: "green";
272
+ yellow: "yellow";
273
+ blue: "blue";
274
+ magenta: "magenta";
275
+ cyan: "cyan";
276
+ white: "white";
277
+ gray: "gray";
278
+ grey: "grey";
279
+ brightRed: "brightRed";
280
+ brightGreen: "brightGreen";
281
+ brightYellow: "brightYellow";
282
+ brightBlue: "brightBlue";
283
+ brightMagenta: "brightMagenta";
284
+ brightCyan: "brightCyan";
285
+ brightWhite: "brightWhite";
286
+ }>>;
392
287
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
393
- }, "strip", z.ZodTypeAny, {
394
- bold?: boolean | undefined;
395
- underline?: boolean | undefined;
396
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
397
- reset?: boolean | undefined;
398
- }, {
399
- bold?: boolean | undefined;
400
- underline?: boolean | undefined;
401
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
402
- reset?: boolean | undefined;
403
- }>>;
404
- /** Style of the help description */
288
+ }, z.core.$strip>>;
405
289
  descriptionStyle: z.ZodOptional<z.ZodObject<{
406
290
  bold: z.ZodOptional<z.ZodBoolean>;
407
291
  underline: z.ZodOptional<z.ZodBoolean>;
408
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
292
+ color: z.ZodOptional<z.ZodEnum<{
293
+ red: "red";
294
+ green: "green";
295
+ yellow: "yellow";
296
+ blue: "blue";
297
+ magenta: "magenta";
298
+ cyan: "cyan";
299
+ white: "white";
300
+ gray: "gray";
301
+ grey: "grey";
302
+ brightRed: "brightRed";
303
+ brightGreen: "brightGreen";
304
+ brightYellow: "brightYellow";
305
+ brightBlue: "brightBlue";
306
+ brightMagenta: "brightMagenta";
307
+ brightCyan: "brightCyan";
308
+ brightWhite: "brightWhite";
309
+ }>>;
409
310
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
410
- }, "strip", z.ZodTypeAny, {
411
- bold?: boolean | undefined;
412
- underline?: boolean | undefined;
413
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
414
- reset?: boolean | undefined;
415
- }, {
416
- bold?: boolean | undefined;
417
- underline?: boolean | undefined;
418
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
419
- reset?: boolean | undefined;
420
- }>>;
421
- /** Style of the help subtitles for commands, options and examples */
311
+ }, z.core.$strip>>;
422
312
  subtitleStyle: z.ZodOptional<z.ZodObject<{
423
313
  bold: z.ZodOptional<z.ZodBoolean>;
424
314
  underline: z.ZodOptional<z.ZodBoolean>;
425
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
315
+ color: z.ZodOptional<z.ZodEnum<{
316
+ red: "red";
317
+ green: "green";
318
+ yellow: "yellow";
319
+ blue: "blue";
320
+ magenta: "magenta";
321
+ cyan: "cyan";
322
+ white: "white";
323
+ gray: "gray";
324
+ grey: "grey";
325
+ brightRed: "brightRed";
326
+ brightGreen: "brightGreen";
327
+ brightYellow: "brightYellow";
328
+ brightBlue: "brightBlue";
329
+ brightMagenta: "brightMagenta";
330
+ brightCyan: "brightCyan";
331
+ brightWhite: "brightWhite";
332
+ }>>;
426
333
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
427
- }, "strip", z.ZodTypeAny, {
428
- bold?: boolean | undefined;
429
- underline?: boolean | undefined;
430
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
431
- reset?: boolean | undefined;
432
- }, {
433
- bold?: boolean | undefined;
434
- underline?: boolean | undefined;
435
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
436
- reset?: boolean | undefined;
437
- }>>;
438
- /** Style of the help usage */
334
+ }, z.core.$strip>>;
439
335
  usageStyle: z.ZodOptional<z.ZodObject<{
440
- /** Style of the help usage title - appears before the usage text (custom or auto) */
441
336
  prefix: z.ZodOptional<z.ZodObject<{
442
337
  bold: z.ZodOptional<z.ZodBoolean>;
443
338
  underline: z.ZodOptional<z.ZodBoolean>;
444
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
339
+ color: z.ZodOptional<z.ZodEnum<{
340
+ red: "red";
341
+ green: "green";
342
+ yellow: "yellow";
343
+ blue: "blue";
344
+ magenta: "magenta";
345
+ cyan: "cyan";
346
+ white: "white";
347
+ gray: "gray";
348
+ grey: "grey";
349
+ brightRed: "brightRed";
350
+ brightGreen: "brightGreen";
351
+ brightYellow: "brightYellow";
352
+ brightBlue: "brightBlue";
353
+ brightMagenta: "brightMagenta";
354
+ brightCyan: "brightCyan";
355
+ brightWhite: "brightWhite";
356
+ }>>;
445
357
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
446
- }, "strip", z.ZodTypeAny, {
447
- bold?: boolean | undefined;
448
- underline?: boolean | undefined;
449
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
450
- reset?: boolean | undefined;
451
- }, {
452
- bold?: boolean | undefined;
453
- underline?: boolean | undefined;
454
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
455
- reset?: boolean | undefined;
456
- }>>;
457
- /**
458
- * For custom usage text, this is the primary style used (right after the `prefix` style).
459
- * For automated usage text, this style is used for the command/binary name
460
- */
358
+ }, z.core.$strip>>;
461
359
  main: z.ZodOptional<z.ZodObject<{
462
360
  bold: z.ZodOptional<z.ZodBoolean>;
463
361
  underline: z.ZodOptional<z.ZodBoolean>;
464
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
362
+ color: z.ZodOptional<z.ZodEnum<{
363
+ red: "red";
364
+ green: "green";
365
+ yellow: "yellow";
366
+ blue: "blue";
367
+ magenta: "magenta";
368
+ cyan: "cyan";
369
+ white: "white";
370
+ gray: "gray";
371
+ grey: "grey";
372
+ brightRed: "brightRed";
373
+ brightGreen: "brightGreen";
374
+ brightYellow: "brightYellow";
375
+ brightBlue: "brightBlue";
376
+ brightMagenta: "brightMagenta";
377
+ brightCyan: "brightCyan";
378
+ brightWhite: "brightWhite";
379
+ }>>;
465
380
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
466
- }, "strip", z.ZodTypeAny, {
467
- bold?: boolean | undefined;
468
- underline?: boolean | undefined;
469
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
470
- reset?: boolean | undefined;
471
- }, {
472
- bold?: boolean | undefined;
473
- underline?: boolean | undefined;
474
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
475
- reset?: boolean | undefined;
476
- }>>;
477
- /** Style of the help usage commands (if any) */
381
+ }, z.core.$strip>>;
478
382
  command: z.ZodOptional<z.ZodObject<{
479
383
  bold: z.ZodOptional<z.ZodBoolean>;
480
384
  underline: z.ZodOptional<z.ZodBoolean>;
481
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
385
+ color: z.ZodOptional<z.ZodEnum<{
386
+ red: "red";
387
+ green: "green";
388
+ yellow: "yellow";
389
+ blue: "blue";
390
+ magenta: "magenta";
391
+ cyan: "cyan";
392
+ white: "white";
393
+ gray: "gray";
394
+ grey: "grey";
395
+ brightRed: "brightRed";
396
+ brightGreen: "brightGreen";
397
+ brightYellow: "brightYellow";
398
+ brightBlue: "brightBlue";
399
+ brightMagenta: "brightMagenta";
400
+ brightCyan: "brightCyan";
401
+ brightWhite: "brightWhite";
402
+ }>>;
482
403
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
483
- }, "strip", z.ZodTypeAny, {
484
- bold?: boolean | undefined;
485
- underline?: boolean | undefined;
486
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
487
- reset?: boolean | undefined;
488
- }, {
489
- bold?: boolean | undefined;
490
- underline?: boolean | undefined;
491
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
492
- reset?: boolean | undefined;
493
- }>>;
494
- /** Style of the help usage options (if any) */
404
+ }, z.core.$strip>>;
495
405
  options: z.ZodOptional<z.ZodObject<{
496
406
  bold: z.ZodOptional<z.ZodBoolean>;
497
407
  underline: z.ZodOptional<z.ZodBoolean>;
498
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
408
+ color: z.ZodOptional<z.ZodEnum<{
409
+ red: "red";
410
+ green: "green";
411
+ yellow: "yellow";
412
+ blue: "blue";
413
+ magenta: "magenta";
414
+ cyan: "cyan";
415
+ white: "white";
416
+ gray: "gray";
417
+ grey: "grey";
418
+ brightRed: "brightRed";
419
+ brightGreen: "brightGreen";
420
+ brightYellow: "brightYellow";
421
+ brightBlue: "brightBlue";
422
+ brightMagenta: "brightMagenta";
423
+ brightCyan: "brightCyan";
424
+ brightWhite: "brightWhite";
425
+ }>>;
499
426
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
500
- }, "strip", z.ZodTypeAny, {
501
- bold?: boolean | undefined;
502
- underline?: boolean | undefined;
503
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
504
- reset?: boolean | undefined;
505
- }, {
506
- bold?: boolean | undefined;
507
- underline?: boolean | undefined;
508
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
509
- reset?: boolean | undefined;
510
- }>>;
511
- }, "strip", z.ZodTypeAny, {
512
- prefix?: {
513
- bold?: boolean | undefined;
514
- underline?: boolean | undefined;
515
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
516
- reset?: boolean | undefined;
517
- } | undefined;
518
- main?: {
519
- bold?: boolean | undefined;
520
- underline?: boolean | undefined;
521
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
522
- reset?: boolean | undefined;
523
- } | undefined;
524
- command?: {
525
- bold?: boolean | undefined;
526
- underline?: boolean | undefined;
527
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
528
- reset?: boolean | undefined;
529
- } | undefined;
530
- options?: {
531
- bold?: boolean | undefined;
532
- underline?: boolean | undefined;
533
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
534
- reset?: boolean | undefined;
535
- } | undefined;
536
- }, {
537
- prefix?: {
538
- bold?: boolean | undefined;
539
- underline?: boolean | undefined;
540
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
541
- reset?: boolean | undefined;
542
- } | undefined;
543
- main?: {
544
- bold?: boolean | undefined;
545
- underline?: boolean | undefined;
546
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
547
- reset?: boolean | undefined;
548
- } | undefined;
549
- command?: {
550
- bold?: boolean | undefined;
551
- underline?: boolean | undefined;
552
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
553
- reset?: boolean | undefined;
554
- } | undefined;
555
- options?: {
556
- bold?: boolean | undefined;
557
- underline?: boolean | undefined;
558
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
559
- reset?: boolean | undefined;
560
- } | undefined;
561
- }>>;
562
- /** Style of the help header */
427
+ }, z.core.$strip>>;
428
+ }, z.core.$strip>>;
563
429
  headerStyle: z.ZodOptional<z.ZodObject<{
564
430
  bold: z.ZodOptional<z.ZodBoolean>;
565
431
  underline: z.ZodOptional<z.ZodBoolean>;
566
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
432
+ color: z.ZodOptional<z.ZodEnum<{
433
+ red: "red";
434
+ green: "green";
435
+ yellow: "yellow";
436
+ blue: "blue";
437
+ magenta: "magenta";
438
+ cyan: "cyan";
439
+ white: "white";
440
+ gray: "gray";
441
+ grey: "grey";
442
+ brightRed: "brightRed";
443
+ brightGreen: "brightGreen";
444
+ brightYellow: "brightYellow";
445
+ brightBlue: "brightBlue";
446
+ brightMagenta: "brightMagenta";
447
+ brightCyan: "brightCyan";
448
+ brightWhite: "brightWhite";
449
+ }>>;
567
450
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
568
- }, "strip", z.ZodTypeAny, {
569
- bold?: boolean | undefined;
570
- underline?: boolean | undefined;
571
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
572
- reset?: boolean | undefined;
573
- }, {
574
- bold?: boolean | undefined;
575
- underline?: boolean | undefined;
576
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
577
- reset?: boolean | undefined;
578
- }>>;
579
- /** Style of the help footer */
451
+ }, z.core.$strip>>;
580
452
  footerStyle: z.ZodOptional<z.ZodObject<{
581
453
  bold: z.ZodOptional<z.ZodBoolean>;
582
454
  underline: z.ZodOptional<z.ZodBoolean>;
583
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
455
+ color: z.ZodOptional<z.ZodEnum<{
456
+ red: "red";
457
+ green: "green";
458
+ yellow: "yellow";
459
+ blue: "blue";
460
+ magenta: "magenta";
461
+ cyan: "cyan";
462
+ white: "white";
463
+ gray: "gray";
464
+ grey: "grey";
465
+ brightRed: "brightRed";
466
+ brightGreen: "brightGreen";
467
+ brightYellow: "brightYellow";
468
+ brightBlue: "brightBlue";
469
+ brightMagenta: "brightMagenta";
470
+ brightCyan: "brightCyan";
471
+ brightWhite: "brightWhite";
472
+ }>>;
584
473
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
585
- }, "strip", z.ZodTypeAny, {
586
- bold?: boolean | undefined;
587
- underline?: boolean | undefined;
588
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
589
- reset?: boolean | undefined;
590
- }, {
591
- bold?: boolean | undefined;
592
- underline?: boolean | undefined;
593
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
594
- reset?: boolean | undefined;
595
- }>>;
596
- /** Maximum length of a row in the help output */
474
+ }, z.core.$strip>>;
597
475
  lineLength: z.ZodOptional<z.ZodNumber>;
598
- /** Options for examples section */
599
476
  exampleOptions: z.ZodOptional<z.ZodObject<{
600
- /** Style of the example description */
601
477
  descriptionStyle: z.ZodOptional<z.ZodObject<{
602
478
  bold: z.ZodOptional<z.ZodBoolean>;
603
479
  underline: z.ZodOptional<z.ZodBoolean>;
604
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
480
+ color: z.ZodOptional<z.ZodEnum<{
481
+ red: "red";
482
+ green: "green";
483
+ yellow: "yellow";
484
+ blue: "blue";
485
+ magenta: "magenta";
486
+ cyan: "cyan";
487
+ white: "white";
488
+ gray: "gray";
489
+ grey: "grey";
490
+ brightRed: "brightRed";
491
+ brightGreen: "brightGreen";
492
+ brightYellow: "brightYellow";
493
+ brightBlue: "brightBlue";
494
+ brightMagenta: "brightMagenta";
495
+ brightCyan: "brightCyan";
496
+ brightWhite: "brightWhite";
497
+ }>>;
605
498
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
606
- }, "strip", z.ZodTypeAny, {
607
- bold?: boolean | undefined;
608
- underline?: boolean | undefined;
609
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
610
- reset?: boolean | undefined;
611
- }, {
612
- bold?: boolean | undefined;
613
- underline?: boolean | undefined;
614
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
615
- reset?: boolean | undefined;
616
- }>>;
617
- /** Style of the example input */
499
+ }, z.core.$strip>>;
618
500
  inputStyle: z.ZodOptional<z.ZodObject<{
619
501
  bold: z.ZodOptional<z.ZodBoolean>;
620
502
  underline: z.ZodOptional<z.ZodBoolean>;
621
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
503
+ color: z.ZodOptional<z.ZodEnum<{
504
+ red: "red";
505
+ green: "green";
506
+ yellow: "yellow";
507
+ blue: "blue";
508
+ magenta: "magenta";
509
+ cyan: "cyan";
510
+ white: "white";
511
+ gray: "gray";
512
+ grey: "grey";
513
+ brightRed: "brightRed";
514
+ brightGreen: "brightGreen";
515
+ brightYellow: "brightYellow";
516
+ brightBlue: "brightBlue";
517
+ brightMagenta: "brightMagenta";
518
+ brightCyan: "brightCyan";
519
+ brightWhite: "brightWhite";
520
+ }>>;
622
521
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
623
- }, "strip", z.ZodTypeAny, {
624
- bold?: boolean | undefined;
625
- underline?: boolean | undefined;
626
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
627
- reset?: boolean | undefined;
628
- }, {
629
- bold?: boolean | undefined;
630
- underline?: boolean | undefined;
631
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
632
- reset?: boolean | undefined;
633
- }>>;
634
- /** Style of the example output */
522
+ }, z.core.$strip>>;
635
523
  outputStyle: z.ZodOptional<z.ZodObject<{
636
524
  bold: z.ZodOptional<z.ZodBoolean>;
637
525
  underline: z.ZodOptional<z.ZodBoolean>;
638
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
526
+ color: z.ZodOptional<z.ZodEnum<{
527
+ red: "red";
528
+ green: "green";
529
+ yellow: "yellow";
530
+ blue: "blue";
531
+ magenta: "magenta";
532
+ cyan: "cyan";
533
+ white: "white";
534
+ gray: "gray";
535
+ grey: "grey";
536
+ brightRed: "brightRed";
537
+ brightGreen: "brightGreen";
538
+ brightYellow: "brightYellow";
539
+ brightBlue: "brightBlue";
540
+ brightMagenta: "brightMagenta";
541
+ brightCyan: "brightCyan";
542
+ brightWhite: "brightWhite";
543
+ }>>;
639
544
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
640
- }, "strip", z.ZodTypeAny, {
641
- bold?: boolean | undefined;
642
- underline?: boolean | undefined;
643
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
644
- reset?: boolean | undefined;
645
- }, {
646
- bold?: boolean | undefined;
647
- underline?: boolean | undefined;
648
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
649
- reset?: boolean | undefined;
650
- }>>;
651
- /** Prefix for the example input (default: `$`) */
545
+ }, z.core.$strip>>;
652
546
  inputPrefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
653
- /** Prefix for the example output (default: `>`) */
654
547
  outputPrefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
655
- /** Style of the example input/output prefixes */
656
548
  prefixStyle: z.ZodOptional<z.ZodObject<{
657
549
  bold: z.ZodOptional<z.ZodBoolean>;
658
550
  underline: z.ZodOptional<z.ZodBoolean>;
659
- color: z.ZodOptional<z.ZodEnum<["red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite", ...("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite")[]]>>;
551
+ color: z.ZodOptional<z.ZodEnum<{
552
+ red: "red";
553
+ green: "green";
554
+ yellow: "yellow";
555
+ blue: "blue";
556
+ magenta: "magenta";
557
+ cyan: "cyan";
558
+ white: "white";
559
+ gray: "gray";
560
+ grey: "grey";
561
+ brightRed: "brightRed";
562
+ brightGreen: "brightGreen";
563
+ brightYellow: "brightYellow";
564
+ brightBlue: "brightBlue";
565
+ brightMagenta: "brightMagenta";
566
+ brightCyan: "brightCyan";
567
+ brightWhite: "brightWhite";
568
+ }>>;
660
569
  reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
661
- }, "strip", z.ZodTypeAny, {
662
- bold?: boolean | undefined;
663
- underline?: boolean | undefined;
664
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
665
- reset?: boolean | undefined;
666
- }, {
667
- bold?: boolean | undefined;
668
- underline?: boolean | undefined;
669
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
670
- reset?: boolean | undefined;
671
- }>>;
672
- /** Whether to compact the examples section */
570
+ }, z.core.$strip>>;
673
571
  compact: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
674
- }, "strip", z.ZodTypeAny, {
675
- descriptionStyle?: {
676
- bold?: boolean | undefined;
677
- underline?: boolean | undefined;
678
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
679
- reset?: boolean | undefined;
680
- } | undefined;
681
- inputStyle?: {
682
- bold?: boolean | undefined;
683
- underline?: boolean | undefined;
684
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
685
- reset?: boolean | undefined;
686
- } | undefined;
687
- outputStyle?: {
688
- bold?: boolean | undefined;
689
- underline?: boolean | undefined;
690
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
691
- reset?: boolean | undefined;
692
- } | undefined;
693
- inputPrefix?: string | undefined;
694
- outputPrefix?: string | undefined;
695
- prefixStyle?: {
696
- bold?: boolean | undefined;
697
- underline?: boolean | undefined;
698
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
699
- reset?: boolean | undefined;
700
- } | undefined;
701
- compact?: boolean | undefined;
702
- }, {
703
- descriptionStyle?: {
704
- bold?: boolean | undefined;
705
- underline?: boolean | undefined;
706
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
707
- reset?: boolean | undefined;
708
- } | undefined;
709
- inputStyle?: {
710
- bold?: boolean | undefined;
711
- underline?: boolean | undefined;
712
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
713
- reset?: boolean | undefined;
714
- } | undefined;
715
- outputStyle?: {
716
- bold?: boolean | undefined;
717
- underline?: boolean | undefined;
718
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
719
- reset?: boolean | undefined;
720
- } | undefined;
721
- inputPrefix?: string | undefined;
722
- outputPrefix?: string | undefined;
723
- prefixStyle?: {
724
- bold?: boolean | undefined;
725
- underline?: boolean | undefined;
726
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
727
- reset?: boolean | undefined;
728
- } | undefined;
729
- compact?: boolean | undefined;
730
- }>>;
731
- /** Text to display at the very top, describing CLI usage */
572
+ }, z.core.$strip>>;
732
573
  usageText: z.ZodOptional<z.ZodString>;
733
- /** Text to display above the description, below the usage */
734
574
  headerText: z.ZodOptional<z.ZodString>;
735
- /** Text to display at the very bottom, below the examples */
736
575
  footerText: z.ZodOptional<z.ZodString>;
737
- }, "strip", z.ZodTypeAny, {
738
- bindCommand?: boolean | undefined;
739
- bindOption?: boolean | undefined;
740
- useGlobalTableColumns?: boolean | undefined;
741
- commandOptions?: {
742
- compact?: boolean | undefined;
743
- nameStyle?: {
744
- bold?: boolean | undefined;
745
- underline?: boolean | undefined;
746
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
747
- reset?: boolean | undefined;
748
- } | undefined;
749
- descriptionStyle?: {
750
- bold?: boolean | undefined;
751
- underline?: boolean | undefined;
752
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
753
- reset?: boolean | undefined;
754
- } | undefined;
755
- namePrefix?: string | undefined;
756
- aliasPrefix?: string | undefined;
757
- } | undefined;
758
- optionOptions?: {
759
- compact?: boolean | undefined;
760
- nameStyle?: {
761
- bold?: boolean | undefined;
762
- underline?: boolean | undefined;
763
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
764
- reset?: boolean | undefined;
765
- } | undefined;
766
- descriptionStyle?: {
767
- bold?: boolean | undefined;
768
- underline?: boolean | undefined;
769
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
770
- reset?: boolean | undefined;
771
- } | undefined;
772
- namePrefix?: string | undefined;
773
- aliasPrefix?: string | undefined;
774
- displayNegations?: boolean | undefined;
775
- displayDefaultValue?: boolean | undefined;
776
- defaultValueStyle?: {
777
- bold?: boolean | undefined;
778
- underline?: boolean | undefined;
779
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
780
- reset?: boolean | undefined;
781
- } | undefined;
782
- } | undefined;
783
- titleStyle?: {
784
- bold?: boolean | undefined;
785
- underline?: boolean | undefined;
786
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
787
- reset?: boolean | undefined;
788
- } | undefined;
789
- descriptionStyle?: {
790
- bold?: boolean | undefined;
791
- underline?: boolean | undefined;
792
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
793
- reset?: boolean | undefined;
794
- } | undefined;
795
- subtitleStyle?: {
796
- bold?: boolean | undefined;
797
- underline?: boolean | undefined;
798
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
799
- reset?: boolean | undefined;
800
- } | undefined;
801
- usageStyle?: {
802
- prefix?: {
803
- bold?: boolean | undefined;
804
- underline?: boolean | undefined;
805
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
806
- reset?: boolean | undefined;
807
- } | undefined;
808
- main?: {
809
- bold?: boolean | undefined;
810
- underline?: boolean | undefined;
811
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
812
- reset?: boolean | undefined;
813
- } | undefined;
814
- command?: {
815
- bold?: boolean | undefined;
816
- underline?: boolean | undefined;
817
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
818
- reset?: boolean | undefined;
819
- } | undefined;
820
- options?: {
821
- bold?: boolean | undefined;
822
- underline?: boolean | undefined;
823
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
824
- reset?: boolean | undefined;
825
- } | undefined;
826
- } | undefined;
827
- headerStyle?: {
828
- bold?: boolean | undefined;
829
- underline?: boolean | undefined;
830
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
831
- reset?: boolean | undefined;
832
- } | undefined;
833
- footerStyle?: {
834
- bold?: boolean | undefined;
835
- underline?: boolean | undefined;
836
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
837
- reset?: boolean | undefined;
838
- } | undefined;
839
- lineLength?: number | undefined;
840
- exampleOptions?: {
841
- descriptionStyle?: {
842
- bold?: boolean | undefined;
843
- underline?: boolean | undefined;
844
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
845
- reset?: boolean | undefined;
846
- } | undefined;
847
- inputStyle?: {
848
- bold?: boolean | undefined;
849
- underline?: boolean | undefined;
850
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
851
- reset?: boolean | undefined;
852
- } | undefined;
853
- outputStyle?: {
854
- bold?: boolean | undefined;
855
- underline?: boolean | undefined;
856
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
857
- reset?: boolean | undefined;
858
- } | undefined;
859
- inputPrefix?: string | undefined;
860
- outputPrefix?: string | undefined;
861
- prefixStyle?: {
862
- bold?: boolean | undefined;
863
- underline?: boolean | undefined;
864
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
865
- reset?: boolean | undefined;
866
- } | undefined;
867
- compact?: boolean | undefined;
868
- } | undefined;
869
- usageText?: string | undefined;
870
- headerText?: string | undefined;
871
- footerText?: string | undefined;
872
- }, {
873
- bindCommand?: boolean | undefined;
874
- bindOption?: boolean | undefined;
875
- useGlobalTableColumns?: boolean | undefined;
876
- commandOptions?: {
877
- compact?: boolean | undefined;
878
- nameStyle?: {
879
- bold?: boolean | undefined;
880
- underline?: boolean | undefined;
881
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
882
- reset?: boolean | undefined;
883
- } | undefined;
884
- descriptionStyle?: {
885
- bold?: boolean | undefined;
886
- underline?: boolean | undefined;
887
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
888
- reset?: boolean | undefined;
889
- } | undefined;
890
- namePrefix?: string | undefined;
891
- aliasPrefix?: string | undefined;
892
- } | undefined;
893
- optionOptions?: {
894
- compact?: boolean | undefined;
895
- nameStyle?: {
896
- bold?: boolean | undefined;
897
- underline?: boolean | undefined;
898
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
899
- reset?: boolean | undefined;
900
- } | undefined;
901
- descriptionStyle?: {
902
- bold?: boolean | undefined;
903
- underline?: boolean | undefined;
904
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
905
- reset?: boolean | undefined;
906
- } | undefined;
907
- namePrefix?: string | undefined;
908
- aliasPrefix?: string | undefined;
909
- displayNegations?: boolean | undefined;
910
- displayDefaultValue?: boolean | undefined;
911
- defaultValueStyle?: {
912
- bold?: boolean | undefined;
913
- underline?: boolean | undefined;
914
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
915
- reset?: boolean | undefined;
916
- } | undefined;
917
- } | undefined;
918
- titleStyle?: {
919
- bold?: boolean | undefined;
920
- underline?: boolean | undefined;
921
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
922
- reset?: boolean | undefined;
923
- } | undefined;
924
- descriptionStyle?: {
925
- bold?: boolean | undefined;
926
- underline?: boolean | undefined;
927
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
928
- reset?: boolean | undefined;
929
- } | undefined;
930
- subtitleStyle?: {
931
- bold?: boolean | undefined;
932
- underline?: boolean | undefined;
933
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
934
- reset?: boolean | undefined;
935
- } | undefined;
936
- usageStyle?: {
937
- prefix?: {
938
- bold?: boolean | undefined;
939
- underline?: boolean | undefined;
940
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
941
- reset?: boolean | undefined;
942
- } | undefined;
943
- main?: {
944
- bold?: boolean | undefined;
945
- underline?: boolean | undefined;
946
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
947
- reset?: boolean | undefined;
948
- } | undefined;
949
- command?: {
950
- bold?: boolean | undefined;
951
- underline?: boolean | undefined;
952
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
953
- reset?: boolean | undefined;
954
- } | undefined;
955
- options?: {
956
- bold?: boolean | undefined;
957
- underline?: boolean | undefined;
958
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
959
- reset?: boolean | undefined;
960
- } | undefined;
961
- } | undefined;
962
- headerStyle?: {
963
- bold?: boolean | undefined;
964
- underline?: boolean | undefined;
965
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
966
- reset?: boolean | undefined;
967
- } | undefined;
968
- footerStyle?: {
969
- bold?: boolean | undefined;
970
- underline?: boolean | undefined;
971
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
972
- reset?: boolean | undefined;
973
- } | undefined;
974
- lineLength?: number | undefined;
975
- exampleOptions?: {
976
- descriptionStyle?: {
977
- bold?: boolean | undefined;
978
- underline?: boolean | undefined;
979
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
980
- reset?: boolean | undefined;
981
- } | undefined;
982
- inputStyle?: {
983
- bold?: boolean | undefined;
984
- underline?: boolean | undefined;
985
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
986
- reset?: boolean | undefined;
987
- } | undefined;
988
- outputStyle?: {
989
- bold?: boolean | undefined;
990
- underline?: boolean | undefined;
991
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
992
- reset?: boolean | undefined;
993
- } | undefined;
994
- inputPrefix?: string | undefined;
995
- outputPrefix?: string | undefined;
996
- prefixStyle?: {
997
- bold?: boolean | undefined;
998
- underline?: boolean | undefined;
999
- color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
1000
- reset?: boolean | undefined;
1001
- } | undefined;
1002
- compact?: boolean | undefined;
1003
- } | undefined;
1004
- usageText?: string | undefined;
1005
- headerText?: string | undefined;
1006
- footerText?: string | undefined;
1007
- }>;
576
+ }, z.core.$strip>;
1008
577
  export type HelpConfig = z.infer<typeof HelpConfig>;
1009
578
  export declare const defaultHelpConfig: DeepRequired<HelpConfig>;
1010
579
  export type HelpItem = {