@shell-shock/core 0.17.4 → 0.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/command-validation-logic.cjs +214 -152
- package/dist/components/command-validation-logic.mjs +213 -152
- package/dist/components/command-validation-logic.mjs.map +1 -1
- package/dist/components/docs.cjs +113 -9
- package/dist/components/docs.mjs +109 -9
- package/dist/components/docs.mjs.map +1 -1
- package/dist/components/exec-builtin.cjs +36 -1
- package/dist/components/exec-builtin.d.cts.map +1 -1
- package/dist/components/exec-builtin.d.mts.map +1 -1
- package/dist/components/exec-builtin.mjs +35 -1
- package/dist/components/exec-builtin.mjs.map +1 -1
- package/dist/components/helpers.cjs +51 -2
- package/dist/components/helpers.mjs +50 -2
- package/dist/components/helpers.mjs.map +1 -1
- package/dist/components/index.cjs +17 -1
- package/dist/components/index.mjs +9 -9
- package/dist/components/options-parser-logic.cjs +411 -174
- package/dist/components/options-parser-logic.d.cts.map +1 -1
- package/dist/components/options-parser-logic.d.mts.map +1 -1
- package/dist/components/options-parser-logic.mjs +405 -174
- package/dist/components/options-parser-logic.mjs.map +1 -1
- package/dist/components/state-builtin.cjs +61 -5
- package/dist/components/state-builtin.mjs +60 -5
- package/dist/components/state-builtin.mjs.map +1 -1
- package/dist/components/usage.cjs +46 -3
- package/dist/components/usage.mjs +45 -3
- package/dist/components/usage.mjs.map +1 -1
- package/dist/components/utils-builtin.cjs +68 -3
- package/dist/components/utils-builtin.mjs +67 -3
- package/dist/components/utils-builtin.mjs.map +1 -1
- package/dist/helpers/automd.cjs +28 -13
- package/dist/helpers/automd.mjs +28 -13
- package/dist/helpers/automd.mjs.map +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/plugin-utils/compute-bin.cjs +50 -0
- package/dist/plugin-utils/compute-bin.d.cts +13 -0
- package/dist/plugin-utils/compute-bin.d.cts.map +1 -0
- package/dist/plugin-utils/compute-bin.d.mts +13 -0
- package/dist/plugin-utils/compute-bin.d.mts.map +1 -0
- package/dist/plugin-utils/compute-bin.mjs +50 -0
- package/dist/plugin-utils/compute-bin.mjs.map +1 -0
- package/dist/plugin-utils/get-command-tree.cjs +50 -0
- package/dist/plugin-utils/get-command-tree.d.cts +15 -1
- package/dist/plugin-utils/get-command-tree.d.cts.map +1 -1
- package/dist/plugin-utils/get-command-tree.d.mts +15 -1
- package/dist/plugin-utils/get-command-tree.d.mts.map +1 -1
- package/dist/plugin-utils/get-command-tree.mjs +49 -1
- package/dist/plugin-utils/get-command-tree.mjs.map +1 -1
- package/dist/plugin-utils/index.cjs +4 -0
- package/dist/plugin-utils/index.d.cts +3 -2
- package/dist/plugin-utils/index.d.mts +3 -2
- package/dist/plugin-utils/index.mjs +3 -2
- package/dist/plugin.cjs +170 -55
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +170 -54
- package/dist/plugin.mjs.map +1 -1
- package/dist/resolver/deepkit.cjs +1 -1
- package/dist/resolver/deepkit.mjs +1 -1
- package/dist/resolver/deepkit.mjs.map +1 -1
- package/dist/types/command.cjs +120 -10
- package/dist/types/command.d.cts +95 -8
- package/dist/types/command.d.cts.map +1 -1
- package/dist/types/command.d.mts +95 -8
- package/dist/types/command.d.mts.map +1 -1
- package/dist/types/command.mjs +109 -10
- package/dist/types/command.mjs.map +1 -1
- package/dist/types/config.cjs +2 -3
- package/dist/types/config.d.cts +2 -3
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +2 -3
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/config.mjs +2 -3
- package/dist/types/config.mjs.map +1 -1
- package/dist/types/index.cjs +12 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +2 -2
- package/package.json +10 -10
package/dist/types/command.cjs
CHANGED
|
@@ -56,6 +56,8 @@ const __ΩBaseCommandParameter = [
|
|
|
56
56
|
"The option description.",
|
|
57
57
|
"alias",
|
|
58
58
|
"Alternative option names.",
|
|
59
|
+
"default",
|
|
60
|
+
"The default value.",
|
|
59
61
|
false,
|
|
60
62
|
"env",
|
|
61
63
|
"The environment variable name or false to disable.",
|
|
@@ -64,9 +66,27 @@ const __ΩBaseCommandParameter = [
|
|
|
64
66
|
"variadic",
|
|
65
67
|
"Whether the option accepts multiple values.",
|
|
66
68
|
"BaseCommandParameter",
|
|
67
|
-
"P&4!?\"n#4$?%&4&?'&4(?)&F4*?+P
|
|
69
|
+
"P&4!?\"n#4$?%&4&?'&4(?)&F4*?+P&')&F'F)FJ4,8?-P&..J4/?0)41?2)43?4Mw5y"
|
|
68
70
|
];
|
|
69
|
-
const __Ω
|
|
71
|
+
const __ΩBaseSingleCommandParameter = [
|
|
72
|
+
"default",
|
|
73
|
+
"The default value.",
|
|
74
|
+
false,
|
|
75
|
+
"variadic",
|
|
76
|
+
"Whether the option accepts multiple values.",
|
|
77
|
+
"BaseSingleCommandParameter",
|
|
78
|
+
"PP&')J4!8?\".#4$?%Mw&y"
|
|
79
|
+
];
|
|
80
|
+
const __ΩBaseVariadicCommandParameter = [
|
|
81
|
+
"default",
|
|
82
|
+
"The default value.",
|
|
83
|
+
true,
|
|
84
|
+
"variadic",
|
|
85
|
+
"Whether the option accepts multiple values.",
|
|
86
|
+
"BaseVariadicCommandParameter",
|
|
87
|
+
"PP&F'F)FJ4!8?\".#4$?%Mw&y"
|
|
88
|
+
];
|
|
89
|
+
const __ΩBaseStringCommandParameter = [
|
|
70
90
|
() => __ΩBaseCommandParameter,
|
|
71
91
|
"string",
|
|
72
92
|
"kind",
|
|
@@ -86,10 +106,36 @@ const __ΩStringCommandParameter = [
|
|
|
86
106
|
"A standard string format to validate the option value against.",
|
|
87
107
|
"choices",
|
|
88
108
|
"The allowed choices for the option value.",
|
|
109
|
+
"BaseStringCommandParameter",
|
|
110
|
+
"Pn!.\"4#?$P&&FJ4%8?&P.'.(.).*.+.,.-.../J408?1&F428?3Mw4y"
|
|
111
|
+
];
|
|
112
|
+
const __ΩSingleStringCommandParameter = [
|
|
113
|
+
() => __ΩBaseStringCommandParameter,
|
|
114
|
+
"default",
|
|
115
|
+
"The default value.",
|
|
116
|
+
false,
|
|
117
|
+
"variadic",
|
|
118
|
+
"Whether the option accepts multiple values.",
|
|
119
|
+
"SingleStringCommandParameter",
|
|
120
|
+
"Pn!&4\"8?#.$4%?&Mw'y"
|
|
121
|
+
];
|
|
122
|
+
const __ΩVariadicStringCommandParameter = [
|
|
123
|
+
() => __ΩBaseStringCommandParameter,
|
|
124
|
+
"default",
|
|
125
|
+
"The default value.",
|
|
126
|
+
true,
|
|
127
|
+
"variadic",
|
|
128
|
+
"Whether the option accepts multiple values.",
|
|
129
|
+
"VariadicStringCommandParameter",
|
|
130
|
+
"Pn!&F4\"8?#.$4%?&Mw'y"
|
|
131
|
+
];
|
|
132
|
+
const __ΩStringCommandParameter = [
|
|
133
|
+
() => __ΩSingleStringCommandParameter,
|
|
134
|
+
() => __ΩVariadicStringCommandParameter,
|
|
89
135
|
"StringCommandParameter",
|
|
90
|
-
"Pn
|
|
136
|
+
"Pn!n\"Jw#y"
|
|
91
137
|
];
|
|
92
|
-
const __Ω
|
|
138
|
+
const __ΩBaseNumberCommandParameter = [
|
|
93
139
|
() => __ΩBaseCommandParameter,
|
|
94
140
|
"number",
|
|
95
141
|
"kind",
|
|
@@ -98,18 +144,70 @@ const __ΩNumberCommandParameter = [
|
|
|
98
144
|
"The default value.",
|
|
99
145
|
"choices",
|
|
100
146
|
"The allowed choices for the option value.",
|
|
147
|
+
"BaseNumberCommandParameter",
|
|
148
|
+
"Pn!.\"4#?$P''FJ4%8?&'F4'8?(Mw)y"
|
|
149
|
+
];
|
|
150
|
+
const __ΩSingleNumberCommandParameter = [
|
|
151
|
+
() => __ΩBaseNumberCommandParameter,
|
|
152
|
+
"default",
|
|
153
|
+
"The default value.",
|
|
154
|
+
false,
|
|
155
|
+
"variadic",
|
|
156
|
+
"Whether the option accepts multiple values.",
|
|
157
|
+
"SingleNumberCommandParameter",
|
|
158
|
+
"Pn!'4\"8?#.$4%?&Mw'y"
|
|
159
|
+
];
|
|
160
|
+
const __ΩVariadicNumberCommandParameter = [
|
|
161
|
+
() => __ΩBaseNumberCommandParameter,
|
|
162
|
+
"default",
|
|
163
|
+
"The default value.",
|
|
164
|
+
true,
|
|
165
|
+
"variadic",
|
|
166
|
+
"Whether the option accepts multiple values.",
|
|
167
|
+
"VariadicNumberCommandParameter",
|
|
168
|
+
"Pn!'F4\"8?#.$4%?&Mw'y"
|
|
169
|
+
];
|
|
170
|
+
const __ΩNumberCommandParameter = [
|
|
171
|
+
() => __ΩSingleNumberCommandParameter,
|
|
172
|
+
() => __ΩVariadicNumberCommandParameter,
|
|
101
173
|
"NumberCommandParameter",
|
|
102
|
-
"Pn
|
|
174
|
+
"Pn!n\"Jw#y"
|
|
103
175
|
];
|
|
104
|
-
const __Ω
|
|
176
|
+
const __ΩBaseBooleanCommandParameter = [
|
|
105
177
|
() => __ΩBaseCommandParameter,
|
|
106
178
|
"boolean",
|
|
107
179
|
"kind",
|
|
108
180
|
"The option kind.",
|
|
109
181
|
"default",
|
|
110
182
|
"The default value.",
|
|
183
|
+
"BaseBooleanCommandParameter",
|
|
184
|
+
"Pn!.\"4#?$P))FJ4%8?&Mw'y"
|
|
185
|
+
];
|
|
186
|
+
const __ΩSingleBooleanCommandParameter = [
|
|
187
|
+
() => __ΩBaseBooleanCommandParameter,
|
|
188
|
+
"default",
|
|
189
|
+
"The default value.",
|
|
190
|
+
false,
|
|
191
|
+
"variadic",
|
|
192
|
+
"Whether the option accepts multiple values.",
|
|
193
|
+
"SingleBooleanCommandParameter",
|
|
194
|
+
"Pn!)4\"8?#.$4%?&Mw'y"
|
|
195
|
+
];
|
|
196
|
+
const __ΩVariadicBooleanCommandParameter = [
|
|
197
|
+
() => __ΩBaseBooleanCommandParameter,
|
|
198
|
+
"default",
|
|
199
|
+
"The default value.",
|
|
200
|
+
true,
|
|
201
|
+
"variadic",
|
|
202
|
+
"Whether the option accepts multiple values.",
|
|
203
|
+
"VariadicBooleanCommandParameter",
|
|
204
|
+
"Pn!)F4\"8?#.$4%?&Mw'y"
|
|
205
|
+
];
|
|
206
|
+
const __ΩBooleanCommandParameter = [
|
|
207
|
+
() => __ΩSingleBooleanCommandParameter,
|
|
208
|
+
() => __ΩVariadicBooleanCommandParameter,
|
|
111
209
|
"BooleanCommandParameter",
|
|
112
|
-
"Pn
|
|
210
|
+
"Pn!n\"Jw#y"
|
|
113
211
|
];
|
|
114
212
|
const __ΩCommandParameter = [
|
|
115
213
|
() => __ΩStringCommandParameter,
|
|
@@ -157,7 +255,7 @@ const __ΩCommandParameterConfig = [
|
|
|
157
255
|
"Pn!n\"n#Jw$y"
|
|
158
256
|
];
|
|
159
257
|
const __ΩBooleanCommandOption = [
|
|
160
|
-
() => __Ω
|
|
258
|
+
() => __ΩSingleBooleanCommandParameter,
|
|
161
259
|
"isNegativeOf",
|
|
162
260
|
"The option this negates.",
|
|
163
261
|
"skipAddingNegative",
|
|
@@ -169,8 +267,9 @@ const __ΩCommandOption = [
|
|
|
169
267
|
() => __ΩStringCommandParameter,
|
|
170
268
|
() => __ΩNumberCommandParameter,
|
|
171
269
|
() => __ΩBooleanCommandOption,
|
|
270
|
+
() => __ΩVariadicBooleanCommandParameter,
|
|
172
271
|
"CommandOption",
|
|
173
|
-
"Pn!n\"n#Jw
|
|
272
|
+
"Pn!n\"n#n$Jw%y"
|
|
174
273
|
];
|
|
175
274
|
const __ΩCommandOptionConfig = [
|
|
176
275
|
() => __ΩAsCommandParameterConfig,
|
|
@@ -307,7 +406,12 @@ const __ΩCommandModule = [
|
|
|
307
406
|
//#endregion
|
|
308
407
|
exports.CommandParameterKinds = CommandParameterKinds;
|
|
309
408
|
exports.__ΩAsCommandParameterConfig = __ΩAsCommandParameterConfig;
|
|
409
|
+
exports.__ΩBaseBooleanCommandParameter = __ΩBaseBooleanCommandParameter;
|
|
310
410
|
exports.__ΩBaseCommandParameter = __ΩBaseCommandParameter;
|
|
411
|
+
exports.__ΩBaseNumberCommandParameter = __ΩBaseNumberCommandParameter;
|
|
412
|
+
exports.__ΩBaseSingleCommandParameter = __ΩBaseSingleCommandParameter;
|
|
413
|
+
exports.__ΩBaseStringCommandParameter = __ΩBaseStringCommandParameter;
|
|
414
|
+
exports.__ΩBaseVariadicCommandParameter = __ΩBaseVariadicCommandParameter;
|
|
311
415
|
exports.__ΩBooleanCommandOption = __ΩBooleanCommandOption;
|
|
312
416
|
exports.__ΩBooleanCommandParameter = __ΩBooleanCommandParameter;
|
|
313
417
|
exports.__ΩBooleanCommandParameterConfig = __ΩBooleanCommandParameterConfig;
|
|
@@ -327,5 +431,11 @@ exports.__ΩCommandTree = __ΩCommandTree;
|
|
|
327
431
|
exports.__ΩNumberCommandParameter = __ΩNumberCommandParameter;
|
|
328
432
|
exports.__ΩNumberCommandParameterConfig = __ΩNumberCommandParameterConfig;
|
|
329
433
|
exports.__ΩSerializedCommandTree = __ΩSerializedCommandTree;
|
|
434
|
+
exports.__ΩSingleBooleanCommandParameter = __ΩSingleBooleanCommandParameter;
|
|
435
|
+
exports.__ΩSingleNumberCommandParameter = __ΩSingleNumberCommandParameter;
|
|
436
|
+
exports.__ΩSingleStringCommandParameter = __ΩSingleStringCommandParameter;
|
|
330
437
|
exports.__ΩStringCommandParameter = __ΩStringCommandParameter;
|
|
331
|
-
exports.__ΩStringCommandParameterConfig = __ΩStringCommandParameterConfig;
|
|
438
|
+
exports.__ΩStringCommandParameterConfig = __ΩStringCommandParameterConfig;
|
|
439
|
+
exports.__ΩVariadicBooleanCommandParameter = __ΩVariadicBooleanCommandParameter;
|
|
440
|
+
exports.__ΩVariadicNumberCommandParameter = __ΩVariadicNumberCommandParameter;
|
|
441
|
+
exports.__ΩVariadicStringCommandParameter = __ΩVariadicStringCommandParameter;
|
package/dist/types/command.d.cts
CHANGED
|
@@ -34,6 +34,10 @@ interface BaseCommandParameter {
|
|
|
34
34
|
* Alternative option names.
|
|
35
35
|
*/
|
|
36
36
|
alias: string[];
|
|
37
|
+
/**
|
|
38
|
+
* The default value.
|
|
39
|
+
*/
|
|
40
|
+
default?: string | number | boolean | string[] | number[] | boolean[];
|
|
37
41
|
/**
|
|
38
42
|
* The environment variable name or false to disable.
|
|
39
43
|
*/
|
|
@@ -47,7 +51,27 @@ interface BaseCommandParameter {
|
|
|
47
51
|
*/
|
|
48
52
|
variadic: boolean;
|
|
49
53
|
}
|
|
50
|
-
interface
|
|
54
|
+
interface BaseSingleCommandParameter {
|
|
55
|
+
/**
|
|
56
|
+
* The default value.
|
|
57
|
+
*/
|
|
58
|
+
default?: string | number | boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the option accepts multiple values.
|
|
61
|
+
*/
|
|
62
|
+
variadic: false;
|
|
63
|
+
}
|
|
64
|
+
interface BaseVariadicCommandParameter {
|
|
65
|
+
/**
|
|
66
|
+
* The default value.
|
|
67
|
+
*/
|
|
68
|
+
default?: string[] | number[] | boolean[];
|
|
69
|
+
/**
|
|
70
|
+
* Whether the option accepts multiple values.
|
|
71
|
+
*/
|
|
72
|
+
variadic: true;
|
|
73
|
+
}
|
|
74
|
+
interface BaseStringCommandParameter extends BaseCommandParameter {
|
|
51
75
|
/**
|
|
52
76
|
* The option kind.
|
|
53
77
|
*/
|
|
@@ -55,7 +79,7 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
55
79
|
/**
|
|
56
80
|
* The default value.
|
|
57
81
|
*/
|
|
58
|
-
default?: string;
|
|
82
|
+
default?: string | string[];
|
|
59
83
|
/**
|
|
60
84
|
* A standard string format to validate the option value against.
|
|
61
85
|
*/
|
|
@@ -65,7 +89,28 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
65
89
|
*/
|
|
66
90
|
choices?: string[];
|
|
67
91
|
}
|
|
68
|
-
interface
|
|
92
|
+
interface SingleStringCommandParameter extends BaseStringCommandParameter {
|
|
93
|
+
/**
|
|
94
|
+
* The default value.
|
|
95
|
+
*/
|
|
96
|
+
default?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Whether the option accepts multiple values.
|
|
99
|
+
*/
|
|
100
|
+
variadic: false;
|
|
101
|
+
}
|
|
102
|
+
interface VariadicStringCommandParameter extends BaseStringCommandParameter {
|
|
103
|
+
/**
|
|
104
|
+
* The default value.
|
|
105
|
+
*/
|
|
106
|
+
default?: string[];
|
|
107
|
+
/**
|
|
108
|
+
* Whether the option accepts multiple values.
|
|
109
|
+
*/
|
|
110
|
+
variadic: true;
|
|
111
|
+
}
|
|
112
|
+
type StringCommandParameter = SingleStringCommandParameter | VariadicStringCommandParameter;
|
|
113
|
+
interface BaseNumberCommandParameter extends BaseCommandParameter {
|
|
69
114
|
/**
|
|
70
115
|
* The option kind.
|
|
71
116
|
*/
|
|
@@ -73,22 +118,64 @@ interface NumberCommandParameter extends BaseCommandParameter {
|
|
|
73
118
|
/**
|
|
74
119
|
* The default value.
|
|
75
120
|
*/
|
|
76
|
-
default?: number;
|
|
121
|
+
default?: number | number[];
|
|
77
122
|
/**
|
|
78
123
|
* The allowed choices for the option value.
|
|
79
124
|
*/
|
|
80
125
|
choices?: number[];
|
|
81
126
|
}
|
|
82
|
-
interface
|
|
127
|
+
interface SingleNumberCommandParameter extends BaseNumberCommandParameter {
|
|
128
|
+
/**
|
|
129
|
+
* The default value.
|
|
130
|
+
*/
|
|
131
|
+
default?: number;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the option accepts multiple values.
|
|
134
|
+
*/
|
|
135
|
+
variadic: false;
|
|
136
|
+
}
|
|
137
|
+
interface VariadicNumberCommandParameter extends BaseNumberCommandParameter {
|
|
138
|
+
/**
|
|
139
|
+
* The default value.
|
|
140
|
+
*/
|
|
141
|
+
default?: number[];
|
|
142
|
+
/**
|
|
143
|
+
* Whether the option accepts multiple values.
|
|
144
|
+
*/
|
|
145
|
+
variadic: true;
|
|
146
|
+
}
|
|
147
|
+
type NumberCommandParameter = SingleNumberCommandParameter | VariadicNumberCommandParameter;
|
|
148
|
+
interface BaseBooleanCommandParameter extends BaseCommandParameter {
|
|
83
149
|
/**
|
|
84
150
|
* The option kind.
|
|
85
151
|
*/
|
|
86
152
|
kind: "boolean";
|
|
153
|
+
/**
|
|
154
|
+
* The default value.
|
|
155
|
+
*/
|
|
156
|
+
default?: boolean | boolean[];
|
|
157
|
+
}
|
|
158
|
+
interface SingleBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
87
159
|
/**
|
|
88
160
|
* The default value.
|
|
89
161
|
*/
|
|
90
162
|
default?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Whether the option accepts multiple values.
|
|
165
|
+
*/
|
|
166
|
+
variadic: false;
|
|
167
|
+
}
|
|
168
|
+
interface VariadicBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
169
|
+
/**
|
|
170
|
+
* The default value.
|
|
171
|
+
*/
|
|
172
|
+
default?: boolean[];
|
|
173
|
+
/**
|
|
174
|
+
* Whether the option accepts multiple values.
|
|
175
|
+
*/
|
|
176
|
+
variadic: true;
|
|
91
177
|
}
|
|
178
|
+
type BooleanCommandParameter = SingleBooleanCommandParameter | VariadicBooleanCommandParameter;
|
|
92
179
|
type CommandParameter = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
|
|
93
180
|
type AsCommandParameterConfig<T extends BaseCommandParameter> = Pick<T, "kind" | "alias"> & Partial<Omit<T, "kind" | "alias">> & {
|
|
94
181
|
alias?: string | string[];
|
|
@@ -97,7 +184,7 @@ type StringCommandParameterConfig = AsCommandParameterConfig<StringCommandParame
|
|
|
97
184
|
type NumberCommandParameterConfig = AsCommandParameterConfig<NumberCommandParameter>;
|
|
98
185
|
type BooleanCommandParameterConfig = AsCommandParameterConfig<BooleanCommandParameter>;
|
|
99
186
|
type CommandParameterConfig = StringCommandParameterConfig | NumberCommandParameterConfig | BooleanCommandParameterConfig;
|
|
100
|
-
interface BooleanCommandOption extends
|
|
187
|
+
interface BooleanCommandOption extends SingleBooleanCommandParameter {
|
|
101
188
|
/**
|
|
102
189
|
* The option this negates.
|
|
103
190
|
*/
|
|
@@ -107,7 +194,7 @@ interface BooleanCommandOption extends BooleanCommandParameter {
|
|
|
107
194
|
*/
|
|
108
195
|
skipAddingNegative?: boolean;
|
|
109
196
|
}
|
|
110
|
-
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption;
|
|
197
|
+
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption | VariadicBooleanCommandParameter;
|
|
111
198
|
type CommandOptionConfig = AsCommandParameterConfig<CommandOption>;
|
|
112
199
|
type CommandArgument = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
|
|
113
200
|
type CommandArgumentConfig = AsCommandParameterConfig<CommandArgument>;
|
|
@@ -276,5 +363,5 @@ interface CommandModule {
|
|
|
276
363
|
default?: AnyFunction;
|
|
277
364
|
}
|
|
278
365
|
//#endregion
|
|
279
|
-
export { AsCommandParameterConfig, BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, StringCommandParameter, StringCommandParameterConfig };
|
|
366
|
+
export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
|
|
280
367
|
//# sourceMappingURL=command.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.cts","names":[],"sources":["../../src/types/command.ts"],"mappings":";;;;;;;;KAyBY,oBAAA;AAAA,cAMC,qBAAA;EAAA;;;;KAMD,oBAAA,WACF,qBAAA,eAAoC,qBAAA;AAAA,UAE7B,oBAAA;EALP;;;EASR,IAAA;;;;EAKA,IAAA,EAAM,oBAAA;EAZI;;;EAiBV,KAAA;EAhBiE;AAEnE;;EAmBE,WAAA;EAV0B;;;EAe1B,KAAA;EAVA;;;EAeA,
|
|
1
|
+
{"version":3,"file":"command.d.cts","names":[],"sources":["../../src/types/command.ts"],"mappings":";;;;;;;;KAyBY,oBAAA;AAAA,cAMC,qBAAA;EAAA;;;;KAMD,oBAAA,WACF,qBAAA,eAAoC,qBAAA;AAAA,UAE7B,oBAAA;EALP;;;EASR,IAAA;;;;EAKA,IAAA,EAAM,oBAAA;EAZI;;;EAiBV,KAAA;EAhBiE;AAEnE;;EAmBE,WAAA;EAV0B;;;EAe1B,KAAA;EAVA;;;EAeA,OAAA;EAKA;;;EAAA,GAAA;EAUQ;AAGV;;EARE,QAAA;EAYA;;AAQF;EAfE,QAAA;AAAA;AAAA,UAGe,0BAAA;EAqBP;AAGV;;EApBE,OAAA;EAoBsE;;;EAftE,QAAA;AAAA;AAAA,UAGe,4BAAA;EAwCR;;AAGT;EAvCE,OAAA;;;;EAKA,QAAA;AAAA;AAAA,UAGe,0BAAA,SAAmC,oBAAA;EAwC1C;AAGV;;EAvCE,IAAA;EAuCgF;;;EAlChF,OAAA;EA2CQ;;AAGV;EAzCE,MAAA;;;;EAcA,OAAA;AAAA;AAAA,UAGe,4BAAA,SAAqC,0BAAA;EA4BkB;;;EAxBtE,OAAA;EAsCA;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hD;;;;EA4BE,IAAA;EAbA;;;;;;EAqBA,IAAA;EAWe;;;;;;EAHf,SAAA;AAAA;AAAA,UAGe,aAAA;EACf,QAAA,GAAW,eAAA;EACX,OAAA,GACI,MAAA,SAAe,mBAAA,IACf,iBAAA,GACA,oBAAA,CAAqB,MAAA,SAAe,oBAAA,KACpC,EAAA,CAAG,YAAA;EACP,IAAA,GACI,qBAAA,KACA,oBAAA,GACA,oBAAA,CAAqB,oBAAA,MACrB,EAAA,CAAG,WAAA;EACP,OAAA,GAAU,WAAA;AAAA"}
|
package/dist/types/command.d.mts
CHANGED
|
@@ -34,6 +34,10 @@ interface BaseCommandParameter {
|
|
|
34
34
|
* Alternative option names.
|
|
35
35
|
*/
|
|
36
36
|
alias: string[];
|
|
37
|
+
/**
|
|
38
|
+
* The default value.
|
|
39
|
+
*/
|
|
40
|
+
default?: string | number | boolean | string[] | number[] | boolean[];
|
|
37
41
|
/**
|
|
38
42
|
* The environment variable name or false to disable.
|
|
39
43
|
*/
|
|
@@ -47,7 +51,27 @@ interface BaseCommandParameter {
|
|
|
47
51
|
*/
|
|
48
52
|
variadic: boolean;
|
|
49
53
|
}
|
|
50
|
-
interface
|
|
54
|
+
interface BaseSingleCommandParameter {
|
|
55
|
+
/**
|
|
56
|
+
* The default value.
|
|
57
|
+
*/
|
|
58
|
+
default?: string | number | boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the option accepts multiple values.
|
|
61
|
+
*/
|
|
62
|
+
variadic: false;
|
|
63
|
+
}
|
|
64
|
+
interface BaseVariadicCommandParameter {
|
|
65
|
+
/**
|
|
66
|
+
* The default value.
|
|
67
|
+
*/
|
|
68
|
+
default?: string[] | number[] | boolean[];
|
|
69
|
+
/**
|
|
70
|
+
* Whether the option accepts multiple values.
|
|
71
|
+
*/
|
|
72
|
+
variadic: true;
|
|
73
|
+
}
|
|
74
|
+
interface BaseStringCommandParameter extends BaseCommandParameter {
|
|
51
75
|
/**
|
|
52
76
|
* The option kind.
|
|
53
77
|
*/
|
|
@@ -55,7 +79,7 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
55
79
|
/**
|
|
56
80
|
* The default value.
|
|
57
81
|
*/
|
|
58
|
-
default?: string;
|
|
82
|
+
default?: string | string[];
|
|
59
83
|
/**
|
|
60
84
|
* A standard string format to validate the option value against.
|
|
61
85
|
*/
|
|
@@ -65,7 +89,28 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
65
89
|
*/
|
|
66
90
|
choices?: string[];
|
|
67
91
|
}
|
|
68
|
-
interface
|
|
92
|
+
interface SingleStringCommandParameter extends BaseStringCommandParameter {
|
|
93
|
+
/**
|
|
94
|
+
* The default value.
|
|
95
|
+
*/
|
|
96
|
+
default?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Whether the option accepts multiple values.
|
|
99
|
+
*/
|
|
100
|
+
variadic: false;
|
|
101
|
+
}
|
|
102
|
+
interface VariadicStringCommandParameter extends BaseStringCommandParameter {
|
|
103
|
+
/**
|
|
104
|
+
* The default value.
|
|
105
|
+
*/
|
|
106
|
+
default?: string[];
|
|
107
|
+
/**
|
|
108
|
+
* Whether the option accepts multiple values.
|
|
109
|
+
*/
|
|
110
|
+
variadic: true;
|
|
111
|
+
}
|
|
112
|
+
type StringCommandParameter = SingleStringCommandParameter | VariadicStringCommandParameter;
|
|
113
|
+
interface BaseNumberCommandParameter extends BaseCommandParameter {
|
|
69
114
|
/**
|
|
70
115
|
* The option kind.
|
|
71
116
|
*/
|
|
@@ -73,22 +118,64 @@ interface NumberCommandParameter extends BaseCommandParameter {
|
|
|
73
118
|
/**
|
|
74
119
|
* The default value.
|
|
75
120
|
*/
|
|
76
|
-
default?: number;
|
|
121
|
+
default?: number | number[];
|
|
77
122
|
/**
|
|
78
123
|
* The allowed choices for the option value.
|
|
79
124
|
*/
|
|
80
125
|
choices?: number[];
|
|
81
126
|
}
|
|
82
|
-
interface
|
|
127
|
+
interface SingleNumberCommandParameter extends BaseNumberCommandParameter {
|
|
128
|
+
/**
|
|
129
|
+
* The default value.
|
|
130
|
+
*/
|
|
131
|
+
default?: number;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the option accepts multiple values.
|
|
134
|
+
*/
|
|
135
|
+
variadic: false;
|
|
136
|
+
}
|
|
137
|
+
interface VariadicNumberCommandParameter extends BaseNumberCommandParameter {
|
|
138
|
+
/**
|
|
139
|
+
* The default value.
|
|
140
|
+
*/
|
|
141
|
+
default?: number[];
|
|
142
|
+
/**
|
|
143
|
+
* Whether the option accepts multiple values.
|
|
144
|
+
*/
|
|
145
|
+
variadic: true;
|
|
146
|
+
}
|
|
147
|
+
type NumberCommandParameter = SingleNumberCommandParameter | VariadicNumberCommandParameter;
|
|
148
|
+
interface BaseBooleanCommandParameter extends BaseCommandParameter {
|
|
83
149
|
/**
|
|
84
150
|
* The option kind.
|
|
85
151
|
*/
|
|
86
152
|
kind: "boolean";
|
|
153
|
+
/**
|
|
154
|
+
* The default value.
|
|
155
|
+
*/
|
|
156
|
+
default?: boolean | boolean[];
|
|
157
|
+
}
|
|
158
|
+
interface SingleBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
87
159
|
/**
|
|
88
160
|
* The default value.
|
|
89
161
|
*/
|
|
90
162
|
default?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Whether the option accepts multiple values.
|
|
165
|
+
*/
|
|
166
|
+
variadic: false;
|
|
167
|
+
}
|
|
168
|
+
interface VariadicBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
169
|
+
/**
|
|
170
|
+
* The default value.
|
|
171
|
+
*/
|
|
172
|
+
default?: boolean[];
|
|
173
|
+
/**
|
|
174
|
+
* Whether the option accepts multiple values.
|
|
175
|
+
*/
|
|
176
|
+
variadic: true;
|
|
91
177
|
}
|
|
178
|
+
type BooleanCommandParameter = SingleBooleanCommandParameter | VariadicBooleanCommandParameter;
|
|
92
179
|
type CommandParameter = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
|
|
93
180
|
type AsCommandParameterConfig<T extends BaseCommandParameter> = Pick<T, "kind" | "alias"> & Partial<Omit<T, "kind" | "alias">> & {
|
|
94
181
|
alias?: string | string[];
|
|
@@ -97,7 +184,7 @@ type StringCommandParameterConfig = AsCommandParameterConfig<StringCommandParame
|
|
|
97
184
|
type NumberCommandParameterConfig = AsCommandParameterConfig<NumberCommandParameter>;
|
|
98
185
|
type BooleanCommandParameterConfig = AsCommandParameterConfig<BooleanCommandParameter>;
|
|
99
186
|
type CommandParameterConfig = StringCommandParameterConfig | NumberCommandParameterConfig | BooleanCommandParameterConfig;
|
|
100
|
-
interface BooleanCommandOption extends
|
|
187
|
+
interface BooleanCommandOption extends SingleBooleanCommandParameter {
|
|
101
188
|
/**
|
|
102
189
|
* The option this negates.
|
|
103
190
|
*/
|
|
@@ -107,7 +194,7 @@ interface BooleanCommandOption extends BooleanCommandParameter {
|
|
|
107
194
|
*/
|
|
108
195
|
skipAddingNegative?: boolean;
|
|
109
196
|
}
|
|
110
|
-
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption;
|
|
197
|
+
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption | VariadicBooleanCommandParameter;
|
|
111
198
|
type CommandOptionConfig = AsCommandParameterConfig<CommandOption>;
|
|
112
199
|
type CommandArgument = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
|
|
113
200
|
type CommandArgumentConfig = AsCommandParameterConfig<CommandArgument>;
|
|
@@ -276,5 +363,5 @@ interface CommandModule {
|
|
|
276
363
|
default?: AnyFunction;
|
|
277
364
|
}
|
|
278
365
|
//#endregion
|
|
279
|
-
export { AsCommandParameterConfig, BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, StringCommandParameter, StringCommandParameterConfig };
|
|
366
|
+
export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
|
|
280
367
|
//# sourceMappingURL=command.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.mts","names":[],"sources":["../../src/types/command.ts"],"mappings":";;;;;;;;KAyBY,oBAAA;AAAA,cAMC,qBAAA;EAAA;;;;KAMD,oBAAA,WACF,qBAAA,eAAoC,qBAAA;AAAA,UAE7B,oBAAA;EALP;;;EASR,IAAA;;;;EAKA,IAAA,EAAM,oBAAA;EAZI;;;EAiBV,KAAA;EAhBiE;AAEnE;;EAmBE,WAAA;EAV0B;;;EAe1B,KAAA;EAVA;;;EAeA,
|
|
1
|
+
{"version":3,"file":"command.d.mts","names":[],"sources":["../../src/types/command.ts"],"mappings":";;;;;;;;KAyBY,oBAAA;AAAA,cAMC,qBAAA;EAAA;;;;KAMD,oBAAA,WACF,qBAAA,eAAoC,qBAAA;AAAA,UAE7B,oBAAA;EALP;;;EASR,IAAA;;;;EAKA,IAAA,EAAM,oBAAA;EAZI;;;EAiBV,KAAA;EAhBiE;AAEnE;;EAmBE,WAAA;EAV0B;;;EAe1B,KAAA;EAVA;;;EAeA,OAAA;EAKA;;;EAAA,GAAA;EAUQ;AAGV;;EARE,QAAA;EA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