massarg 1.0.7-pre.1 → 2.0.0-pre.2

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 ADDED
@@ -0,0 +1,729 @@
1
+ import z from 'zod';
2
+ import { MassargCommand } from './command';
3
+ import { DeepRequired } from './utils';
4
+ export declare const GenerateTableCommandConfig: z.ZodObject<{
5
+ maxRowLength: z.ZodOptional<z.ZodNumber>;
6
+ namePrefix: z.ZodOptional<z.ZodString>;
7
+ aliasPrefix: z.ZodOptional<z.ZodString>;
8
+ compact: z.ZodOptional<z.ZodBoolean>;
9
+ nameStyle: z.ZodOptional<z.ZodObject<{
10
+ bold: z.ZodOptional<z.ZodBoolean>;
11
+ underline: z.ZodOptional<z.ZodBoolean>;
12
+ 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")[]]>>;
13
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ bold?: boolean | undefined;
16
+ underline?: boolean | undefined;
17
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
18
+ reset?: boolean | undefined;
19
+ }, {
20
+ bold?: boolean | undefined;
21
+ underline?: boolean | undefined;
22
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
23
+ reset?: boolean | undefined;
24
+ }>>;
25
+ descriptionStyle: z.ZodOptional<z.ZodObject<{
26
+ bold: z.ZodOptional<z.ZodBoolean>;
27
+ underline: z.ZodOptional<z.ZodBoolean>;
28
+ 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")[]]>>;
29
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ bold?: boolean | undefined;
32
+ underline?: boolean | undefined;
33
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
34
+ reset?: boolean | undefined;
35
+ }, {
36
+ bold?: boolean | undefined;
37
+ underline?: boolean | undefined;
38
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
39
+ reset?: boolean | undefined;
40
+ }>>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ maxRowLength?: number | undefined;
43
+ namePrefix?: string | undefined;
44
+ aliasPrefix?: string | undefined;
45
+ compact?: boolean | undefined;
46
+ nameStyle?: {
47
+ bold?: boolean | undefined;
48
+ underline?: boolean | undefined;
49
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
50
+ reset?: boolean | undefined;
51
+ } | undefined;
52
+ descriptionStyle?: {
53
+ bold?: boolean | undefined;
54
+ underline?: boolean | undefined;
55
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
56
+ reset?: boolean | undefined;
57
+ } | undefined;
58
+ }, {
59
+ maxRowLength?: number | undefined;
60
+ namePrefix?: string | undefined;
61
+ aliasPrefix?: string | undefined;
62
+ compact?: boolean | undefined;
63
+ nameStyle?: {
64
+ bold?: boolean | undefined;
65
+ underline?: boolean | undefined;
66
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
67
+ reset?: boolean | undefined;
68
+ } | undefined;
69
+ descriptionStyle?: {
70
+ bold?: boolean | undefined;
71
+ underline?: boolean | undefined;
72
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
73
+ reset?: boolean | undefined;
74
+ } | undefined;
75
+ }>;
76
+ export type GenerateTableCommandConfig = z.infer<typeof GenerateTableCommandConfig>;
77
+ export declare const GenerateTableOptionConfig: z.ZodObject<{
78
+ maxRowLength: z.ZodOptional<z.ZodNumber>;
79
+ namePrefix: z.ZodOptional<z.ZodString>;
80
+ aliasPrefix: z.ZodOptional<z.ZodString>;
81
+ compact: z.ZodOptional<z.ZodBoolean>;
82
+ nameStyle: z.ZodOptional<z.ZodObject<{
83
+ bold: z.ZodOptional<z.ZodBoolean>;
84
+ underline: z.ZodOptional<z.ZodBoolean>;
85
+ 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
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ bold?: boolean | undefined;
89
+ underline?: boolean | undefined;
90
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
91
+ reset?: boolean | undefined;
92
+ }, {
93
+ bold?: boolean | undefined;
94
+ underline?: boolean | undefined;
95
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
96
+ reset?: boolean | undefined;
97
+ }>>;
98
+ descriptionStyle: z.ZodOptional<z.ZodObject<{
99
+ bold: z.ZodOptional<z.ZodBoolean>;
100
+ underline: z.ZodOptional<z.ZodBoolean>;
101
+ 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")[]]>>;
102
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ bold?: boolean | undefined;
105
+ underline?: boolean | undefined;
106
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
107
+ reset?: boolean | undefined;
108
+ }, {
109
+ bold?: boolean | undefined;
110
+ underline?: boolean | undefined;
111
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
112
+ reset?: boolean | undefined;
113
+ }>>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ maxRowLength?: number | undefined;
116
+ namePrefix?: string | undefined;
117
+ aliasPrefix?: string | undefined;
118
+ compact?: boolean | undefined;
119
+ nameStyle?: {
120
+ bold?: boolean | undefined;
121
+ underline?: boolean | undefined;
122
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
123
+ reset?: boolean | undefined;
124
+ } | undefined;
125
+ descriptionStyle?: {
126
+ bold?: boolean | undefined;
127
+ underline?: boolean | undefined;
128
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
129
+ reset?: boolean | undefined;
130
+ } | undefined;
131
+ }, {
132
+ maxRowLength?: number | undefined;
133
+ namePrefix?: string | undefined;
134
+ aliasPrefix?: string | undefined;
135
+ compact?: boolean | undefined;
136
+ nameStyle?: {
137
+ bold?: boolean | undefined;
138
+ underline?: boolean | undefined;
139
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
140
+ reset?: boolean | undefined;
141
+ } | undefined;
142
+ descriptionStyle?: {
143
+ bold?: boolean | undefined;
144
+ underline?: boolean | undefined;
145
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
146
+ reset?: boolean | undefined;
147
+ } | undefined;
148
+ }>;
149
+ export type GenerateTableOptionConfig = z.infer<typeof GenerateTableOptionConfig>;
150
+ export declare const HelpConfig: z.ZodObject<{
151
+ /**
152
+ * Whether to bind the help command to this command
153
+ *
154
+ * Set this to `true` to automatically add a `help` command to this command's subcommands.
155
+ */
156
+ bindCommand: z.ZodOptional<z.ZodBoolean>;
157
+ /**
158
+ * Whether to bind the help option to this command
159
+ *
160
+ * Set this to `true` to automatically add a `--help` option to this command's options.
161
+ */
162
+ bindOption: z.ZodOptional<z.ZodBoolean>;
163
+ /** Options for generating the table of commands */
164
+ commandOptions: z.ZodOptional<z.ZodObject<Omit<{
165
+ maxRowLength: z.ZodOptional<z.ZodNumber>;
166
+ namePrefix: z.ZodOptional<z.ZodString>;
167
+ aliasPrefix: z.ZodOptional<z.ZodString>;
168
+ compact: z.ZodOptional<z.ZodBoolean>;
169
+ nameStyle: z.ZodOptional<z.ZodObject<{
170
+ bold: z.ZodOptional<z.ZodBoolean>;
171
+ underline: z.ZodOptional<z.ZodBoolean>;
172
+ 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")[]]>>;
173
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ bold?: boolean | undefined;
176
+ underline?: boolean | undefined;
177
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
178
+ reset?: boolean | undefined;
179
+ }, {
180
+ bold?: boolean | undefined;
181
+ underline?: boolean | undefined;
182
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
183
+ reset?: boolean | undefined;
184
+ }>>;
185
+ descriptionStyle: z.ZodOptional<z.ZodObject<{
186
+ bold: z.ZodOptional<z.ZodBoolean>;
187
+ underline: z.ZodOptional<z.ZodBoolean>;
188
+ 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")[]]>>;
189
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ bold?: boolean | undefined;
192
+ underline?: boolean | undefined;
193
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
194
+ reset?: boolean | undefined;
195
+ }, {
196
+ bold?: boolean | undefined;
197
+ underline?: boolean | undefined;
198
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
199
+ reset?: boolean | undefined;
200
+ }>>;
201
+ }, "maxRowLength">, "strip", z.ZodTypeAny, {
202
+ namePrefix?: string | undefined;
203
+ aliasPrefix?: string | undefined;
204
+ compact?: boolean | undefined;
205
+ nameStyle?: {
206
+ bold?: boolean | undefined;
207
+ underline?: boolean | undefined;
208
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
209
+ reset?: boolean | undefined;
210
+ } | undefined;
211
+ descriptionStyle?: {
212
+ bold?: boolean | undefined;
213
+ underline?: boolean | undefined;
214
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
215
+ reset?: boolean | undefined;
216
+ } | undefined;
217
+ }, {
218
+ namePrefix?: string | undefined;
219
+ aliasPrefix?: string | undefined;
220
+ compact?: boolean | undefined;
221
+ nameStyle?: {
222
+ bold?: boolean | undefined;
223
+ underline?: boolean | undefined;
224
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
225
+ reset?: boolean | undefined;
226
+ } | undefined;
227
+ descriptionStyle?: {
228
+ bold?: boolean | undefined;
229
+ underline?: boolean | undefined;
230
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
231
+ reset?: boolean | undefined;
232
+ } | undefined;
233
+ }>>;
234
+ /** Options for generating the table of options */
235
+ optionOptions: z.ZodOptional<z.ZodObject<Omit<{
236
+ maxRowLength: z.ZodOptional<z.ZodNumber>;
237
+ namePrefix: z.ZodOptional<z.ZodString>;
238
+ aliasPrefix: z.ZodOptional<z.ZodString>;
239
+ compact: z.ZodOptional<z.ZodBoolean>;
240
+ nameStyle: z.ZodOptional<z.ZodObject<{
241
+ bold: z.ZodOptional<z.ZodBoolean>;
242
+ underline: z.ZodOptional<z.ZodBoolean>;
243
+ 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")[]]>>;
244
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ bold?: boolean | undefined;
247
+ underline?: boolean | undefined;
248
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
249
+ reset?: boolean | undefined;
250
+ }, {
251
+ bold?: boolean | undefined;
252
+ underline?: boolean | undefined;
253
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
254
+ reset?: boolean | undefined;
255
+ }>>;
256
+ descriptionStyle: z.ZodOptional<z.ZodObject<{
257
+ bold: z.ZodOptional<z.ZodBoolean>;
258
+ underline: z.ZodOptional<z.ZodBoolean>;
259
+ 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")[]]>>;
260
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ bold?: boolean | undefined;
263
+ underline?: boolean | undefined;
264
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
265
+ reset?: boolean | undefined;
266
+ }, {
267
+ bold?: boolean | undefined;
268
+ underline?: boolean | undefined;
269
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
270
+ reset?: boolean | undefined;
271
+ }>>;
272
+ }, "maxRowLength">, "strip", z.ZodTypeAny, {
273
+ namePrefix?: string | undefined;
274
+ aliasPrefix?: string | undefined;
275
+ compact?: boolean | undefined;
276
+ nameStyle?: {
277
+ bold?: boolean | undefined;
278
+ underline?: boolean | undefined;
279
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
280
+ reset?: boolean | undefined;
281
+ } | undefined;
282
+ descriptionStyle?: {
283
+ bold?: boolean | undefined;
284
+ underline?: boolean | undefined;
285
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
286
+ reset?: boolean | undefined;
287
+ } | undefined;
288
+ }, {
289
+ namePrefix?: string | undefined;
290
+ aliasPrefix?: string | undefined;
291
+ compact?: boolean | undefined;
292
+ nameStyle?: {
293
+ bold?: boolean | undefined;
294
+ underline?: boolean | undefined;
295
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
296
+ reset?: boolean | undefined;
297
+ } | undefined;
298
+ descriptionStyle?: {
299
+ bold?: boolean | undefined;
300
+ underline?: boolean | undefined;
301
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
302
+ reset?: boolean | undefined;
303
+ } | undefined;
304
+ }>>;
305
+ /** Style of the help title */
306
+ titleStyle: z.ZodOptional<z.ZodObject<{
307
+ bold: z.ZodOptional<z.ZodBoolean>;
308
+ underline: z.ZodOptional<z.ZodBoolean>;
309
+ 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")[]]>>;
310
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ bold?: boolean | undefined;
313
+ underline?: boolean | undefined;
314
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
315
+ reset?: boolean | undefined;
316
+ }, {
317
+ bold?: boolean | undefined;
318
+ underline?: boolean | undefined;
319
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
320
+ reset?: boolean | undefined;
321
+ }>>;
322
+ /** Style of the help description */
323
+ descriptionStyle: z.ZodOptional<z.ZodObject<{
324
+ bold: z.ZodOptional<z.ZodBoolean>;
325
+ underline: z.ZodOptional<z.ZodBoolean>;
326
+ 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")[]]>>;
327
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ bold?: boolean | undefined;
330
+ underline?: boolean | undefined;
331
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
332
+ reset?: boolean | undefined;
333
+ }, {
334
+ bold?: boolean | undefined;
335
+ underline?: boolean | undefined;
336
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
337
+ reset?: boolean | undefined;
338
+ }>>;
339
+ /** Style of the help subtitles for commands, options and examples */
340
+ subtitleStyle: z.ZodOptional<z.ZodObject<{
341
+ bold: z.ZodOptional<z.ZodBoolean>;
342
+ underline: z.ZodOptional<z.ZodBoolean>;
343
+ 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")[]]>>;
344
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ bold?: boolean | undefined;
347
+ underline?: boolean | undefined;
348
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
349
+ reset?: boolean | undefined;
350
+ }, {
351
+ bold?: boolean | undefined;
352
+ underline?: boolean | undefined;
353
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
354
+ reset?: boolean | undefined;
355
+ }>>;
356
+ /** Style of the help usage */
357
+ usageStyle: z.ZodOptional<z.ZodObject<{
358
+ bold: z.ZodOptional<z.ZodBoolean>;
359
+ underline: z.ZodOptional<z.ZodBoolean>;
360
+ 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")[]]>>;
361
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ bold?: boolean | undefined;
364
+ underline?: boolean | undefined;
365
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
366
+ reset?: boolean | undefined;
367
+ }, {
368
+ bold?: boolean | undefined;
369
+ underline?: boolean | undefined;
370
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
371
+ reset?: boolean | undefined;
372
+ }>>;
373
+ /** Style of the help header */
374
+ headerStyle: z.ZodOptional<z.ZodObject<{
375
+ bold: z.ZodOptional<z.ZodBoolean>;
376
+ underline: z.ZodOptional<z.ZodBoolean>;
377
+ 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")[]]>>;
378
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ bold?: boolean | undefined;
381
+ underline?: boolean | undefined;
382
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
383
+ reset?: boolean | undefined;
384
+ }, {
385
+ bold?: boolean | undefined;
386
+ underline?: boolean | undefined;
387
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
388
+ reset?: boolean | undefined;
389
+ }>>;
390
+ /** Style of the help footer */
391
+ footerStyle: z.ZodOptional<z.ZodObject<{
392
+ bold: z.ZodOptional<z.ZodBoolean>;
393
+ underline: z.ZodOptional<z.ZodBoolean>;
394
+ 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")[]]>>;
395
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ bold?: boolean | undefined;
398
+ underline?: boolean | undefined;
399
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
400
+ reset?: boolean | undefined;
401
+ }, {
402
+ bold?: boolean | undefined;
403
+ underline?: boolean | undefined;
404
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
405
+ reset?: boolean | undefined;
406
+ }>>;
407
+ /** Maximum length of a row in the help output */
408
+ maxRowLength: z.ZodOptional<z.ZodNumber>;
409
+ /** Options for examples section */
410
+ exampleOptions: z.ZodOptional<z.ZodObject<{
411
+ /** Style of the example description */
412
+ descriptionStyle: z.ZodOptional<z.ZodObject<{
413
+ bold: z.ZodOptional<z.ZodBoolean>;
414
+ underline: z.ZodOptional<z.ZodBoolean>;
415
+ 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")[]]>>;
416
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ bold?: boolean | undefined;
419
+ underline?: boolean | undefined;
420
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
421
+ reset?: boolean | undefined;
422
+ }, {
423
+ bold?: boolean | undefined;
424
+ underline?: boolean | undefined;
425
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
426
+ reset?: boolean | undefined;
427
+ }>>;
428
+ /** Style of the example input */
429
+ inputStyle: z.ZodOptional<z.ZodObject<{
430
+ bold: z.ZodOptional<z.ZodBoolean>;
431
+ underline: z.ZodOptional<z.ZodBoolean>;
432
+ 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")[]]>>;
433
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ bold?: boolean | undefined;
436
+ underline?: boolean | undefined;
437
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
438
+ reset?: boolean | undefined;
439
+ }, {
440
+ bold?: boolean | undefined;
441
+ underline?: boolean | undefined;
442
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
443
+ reset?: boolean | undefined;
444
+ }>>;
445
+ /** Style of the example output */
446
+ outputStyle: z.ZodOptional<z.ZodObject<{
447
+ bold: z.ZodOptional<z.ZodBoolean>;
448
+ underline: z.ZodOptional<z.ZodBoolean>;
449
+ 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")[]]>>;
450
+ reset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
451
+ }, "strip", z.ZodTypeAny, {
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
+ bold?: boolean | undefined;
458
+ underline?: boolean | undefined;
459
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
460
+ reset?: boolean | undefined;
461
+ }>>;
462
+ /** Prefix for the example input */
463
+ inputPrefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
464
+ /** Prefix for the example output */
465
+ outputPrefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ descriptionStyle?: {
468
+ bold?: boolean | undefined;
469
+ underline?: boolean | undefined;
470
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
471
+ reset?: boolean | undefined;
472
+ } | undefined;
473
+ inputStyle?: {
474
+ bold?: boolean | undefined;
475
+ underline?: boolean | undefined;
476
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
477
+ reset?: boolean | undefined;
478
+ } | undefined;
479
+ outputStyle?: {
480
+ bold?: boolean | undefined;
481
+ underline?: boolean | undefined;
482
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
483
+ reset?: boolean | undefined;
484
+ } | undefined;
485
+ inputPrefix?: string | undefined;
486
+ outputPrefix?: string | undefined;
487
+ }, {
488
+ descriptionStyle?: {
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
+ } | undefined;
494
+ inputStyle?: {
495
+ bold?: boolean | undefined;
496
+ underline?: boolean | undefined;
497
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
498
+ reset?: boolean | undefined;
499
+ } | undefined;
500
+ outputStyle?: {
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
+ } | undefined;
506
+ inputPrefix?: string | undefined;
507
+ outputPrefix?: string | undefined;
508
+ }>>;
509
+ /** Text to display at the very top, describing CLI usage */
510
+ usageText: z.ZodOptional<z.ZodString>;
511
+ /** Text to display above the description, below the usage */
512
+ headerText: z.ZodOptional<z.ZodString>;
513
+ /** Text to display at the very bottom, below the examples */
514
+ footerText: z.ZodOptional<z.ZodString>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ bindCommand?: boolean | undefined;
517
+ bindOption?: boolean | undefined;
518
+ commandOptions?: {
519
+ namePrefix?: string | undefined;
520
+ aliasPrefix?: string | undefined;
521
+ compact?: boolean | undefined;
522
+ nameStyle?: {
523
+ bold?: boolean | undefined;
524
+ underline?: boolean | undefined;
525
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
526
+ reset?: boolean | undefined;
527
+ } | undefined;
528
+ descriptionStyle?: {
529
+ bold?: boolean | undefined;
530
+ underline?: boolean | undefined;
531
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
532
+ reset?: boolean | undefined;
533
+ } | undefined;
534
+ } | undefined;
535
+ optionOptions?: {
536
+ namePrefix?: string | undefined;
537
+ aliasPrefix?: string | undefined;
538
+ compact?: boolean | undefined;
539
+ nameStyle?: {
540
+ bold?: boolean | undefined;
541
+ underline?: boolean | undefined;
542
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
543
+ reset?: boolean | undefined;
544
+ } | undefined;
545
+ descriptionStyle?: {
546
+ bold?: boolean | undefined;
547
+ underline?: boolean | undefined;
548
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
549
+ reset?: boolean | undefined;
550
+ } | undefined;
551
+ } | undefined;
552
+ titleStyle?: {
553
+ bold?: boolean | undefined;
554
+ underline?: boolean | undefined;
555
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
556
+ reset?: boolean | undefined;
557
+ } | undefined;
558
+ descriptionStyle?: {
559
+ bold?: boolean | undefined;
560
+ underline?: boolean | undefined;
561
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
562
+ reset?: boolean | undefined;
563
+ } | undefined;
564
+ subtitleStyle?: {
565
+ bold?: boolean | undefined;
566
+ underline?: boolean | undefined;
567
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
568
+ reset?: boolean | undefined;
569
+ } | undefined;
570
+ usageStyle?: {
571
+ bold?: boolean | undefined;
572
+ underline?: boolean | undefined;
573
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
574
+ reset?: boolean | undefined;
575
+ } | undefined;
576
+ headerStyle?: {
577
+ bold?: boolean | undefined;
578
+ underline?: boolean | undefined;
579
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
580
+ reset?: boolean | undefined;
581
+ } | undefined;
582
+ footerStyle?: {
583
+ bold?: boolean | undefined;
584
+ underline?: boolean | undefined;
585
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
586
+ reset?: boolean | undefined;
587
+ } | undefined;
588
+ maxRowLength?: number | undefined;
589
+ exampleOptions?: {
590
+ descriptionStyle?: {
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
+ } | undefined;
596
+ inputStyle?: {
597
+ bold?: boolean | undefined;
598
+ underline?: boolean | undefined;
599
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
600
+ reset?: boolean | undefined;
601
+ } | undefined;
602
+ outputStyle?: {
603
+ bold?: boolean | undefined;
604
+ underline?: boolean | undefined;
605
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
606
+ reset?: boolean | undefined;
607
+ } | undefined;
608
+ inputPrefix?: string | undefined;
609
+ outputPrefix?: string | undefined;
610
+ } | undefined;
611
+ usageText?: string | undefined;
612
+ headerText?: string | undefined;
613
+ footerText?: string | undefined;
614
+ }, {
615
+ bindCommand?: boolean | undefined;
616
+ bindOption?: boolean | undefined;
617
+ commandOptions?: {
618
+ namePrefix?: string | undefined;
619
+ aliasPrefix?: string | undefined;
620
+ compact?: boolean | undefined;
621
+ nameStyle?: {
622
+ bold?: boolean | undefined;
623
+ underline?: boolean | undefined;
624
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
625
+ reset?: boolean | undefined;
626
+ } | undefined;
627
+ descriptionStyle?: {
628
+ bold?: boolean | undefined;
629
+ underline?: boolean | undefined;
630
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
631
+ reset?: boolean | undefined;
632
+ } | undefined;
633
+ } | undefined;
634
+ optionOptions?: {
635
+ namePrefix?: string | undefined;
636
+ aliasPrefix?: string | undefined;
637
+ compact?: boolean | undefined;
638
+ nameStyle?: {
639
+ bold?: boolean | undefined;
640
+ underline?: boolean | undefined;
641
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
642
+ reset?: boolean | undefined;
643
+ } | undefined;
644
+ descriptionStyle?: {
645
+ bold?: boolean | undefined;
646
+ underline?: boolean | undefined;
647
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
648
+ reset?: boolean | undefined;
649
+ } | undefined;
650
+ } | undefined;
651
+ titleStyle?: {
652
+ bold?: boolean | undefined;
653
+ underline?: boolean | undefined;
654
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
655
+ reset?: boolean | undefined;
656
+ } | undefined;
657
+ descriptionStyle?: {
658
+ bold?: boolean | undefined;
659
+ underline?: boolean | undefined;
660
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
661
+ reset?: boolean | undefined;
662
+ } | undefined;
663
+ subtitleStyle?: {
664
+ bold?: boolean | undefined;
665
+ underline?: boolean | undefined;
666
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
667
+ reset?: boolean | undefined;
668
+ } | undefined;
669
+ usageStyle?: {
670
+ bold?: boolean | undefined;
671
+ underline?: boolean | undefined;
672
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
673
+ reset?: boolean | undefined;
674
+ } | undefined;
675
+ headerStyle?: {
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
+ footerStyle?: {
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
+ maxRowLength?: number | undefined;
688
+ exampleOptions?: {
689
+ descriptionStyle?: {
690
+ bold?: boolean | undefined;
691
+ underline?: boolean | undefined;
692
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
693
+ reset?: boolean | undefined;
694
+ } | undefined;
695
+ inputStyle?: {
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
+ outputStyle?: {
702
+ bold?: boolean | undefined;
703
+ underline?: boolean | undefined;
704
+ color?: "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "brightRed" | "brightGreen" | "brightYellow" | "brightBlue" | "brightMagenta" | "brightCyan" | "brightWhite" | undefined;
705
+ reset?: boolean | undefined;
706
+ } | undefined;
707
+ inputPrefix?: string | undefined;
708
+ outputPrefix?: string | undefined;
709
+ } | undefined;
710
+ usageText?: string | undefined;
711
+ headerText?: string | undefined;
712
+ footerText?: string | undefined;
713
+ }>;
714
+ export type HelpConfig = z.infer<typeof HelpConfig>;
715
+ export declare const defaultHelpConfig: DeepRequired<HelpConfig>;
716
+ export type HelpItem = {
717
+ name: string;
718
+ aliases: string[];
719
+ description: string;
720
+ hidden?: boolean;
721
+ };
722
+ export declare class HelpGenerator {
723
+ entry: MassargCommand<any>;
724
+ config: DeepRequired<HelpConfig>;
725
+ constructor(entry: MassargCommand<any>, config?: HelpConfig);
726
+ generate(): string;
727
+ printHelp(): void;
728
+ }
729
+ //# sourceMappingURL=help.d.ts.map