10
10
11
11
> ** runProgram** \< ` CustomCliArguments ` \> (` commandModulesPath ` ): [ ` RunProgramReturnType ` ] ( ../type-aliases/RunProgramReturnType.md ) \< ` CustomCliArguments ` \>
12
12
13
- Defined in: [ src/index.ts:674] ( https://github.com/Xunnamius/black-flag/blob/aaa1a74457790f285cb2c85d4d6a7ee05978fc42 /src/index.ts#L674 )
13
+ Defined in: [ src/index.ts:674] ( https://github.com/Xunnamius/black-flag/blob/dca16a7cbf43b7d8428fc9b34cc49fc69b7b6672 /src/index.ts#L674 )
14
14
15
15
Invokes the dynamically imported
16
16
` configureProgram(commandModulesPath).execute() ` function.
@@ -27,7 +27,9 @@ desired.
27
27
28
28
### Type Parameters
29
29
30
- • ** CustomCliArguments** * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
30
+ #### CustomCliArguments
31
+
32
+ ` CustomCliArguments ` * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
31
33
32
34
### Parameters
33
35
@@ -46,7 +48,7 @@ if any other exception occurs, or `Arguments` otherwise.
46
48
47
49
> ** runProgram** \< ` CustomCliArguments ` \> (` commandModulesPath ` , ` configurationHooks ` ): [ ` RunProgramReturnType ` ] ( ../type-aliases/RunProgramReturnType.md ) \< ` CustomCliArguments ` \>
48
50
49
- Defined in: [ src/index.ts:694] ( https://github.com/Xunnamius/black-flag/blob/aaa1a74457790f285cb2c85d4d6a7ee05978fc42 /src/index.ts#L694 )
51
+ Defined in: [ src/index.ts:694] ( https://github.com/Xunnamius/black-flag/blob/dca16a7cbf43b7d8428fc9b34cc49fc69b7b6672 /src/index.ts#L694 )
50
52
51
53
Invokes the dynamically imported `configureProgram(commandModulesPath,
52
54
configurationHooks).execute()` function.
@@ -63,7 +65,9 @@ desired.
63
65
64
66
### Type Parameters
65
67
66
- • ** CustomCliArguments** * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
68
+ #### CustomCliArguments
69
+
70
+ ` CustomCliArguments ` * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
67
71
68
72
### Parameters
69
73
@@ -86,7 +90,7 @@ if any other exception occurs, or `Arguments` otherwise.
86
90
87
91
> ** runProgram** \< ` CustomCliArguments ` \> (` commandModulesPath ` , ` preExecutionContext ` ): [ ` RunProgramReturnType ` ] ( ../type-aliases/RunProgramReturnType.md ) \< ` CustomCliArguments ` \>
88
92
89
- Defined in: [ src/index.ts:718] ( https://github.com/Xunnamius/black-flag/blob/aaa1a74457790f285cb2c85d4d6a7ee05978fc42 /src/index.ts#L718 )
93
+ Defined in: [ src/index.ts:718] ( https://github.com/Xunnamius/black-flag/blob/dca16a7cbf43b7d8428fc9b34cc49fc69b7b6672 /src/index.ts#L718 )
90
94
91
95
Invokes the ` preExecutionContext.execute() ` function.
92
96
@@ -104,7 +108,9 @@ is returned.
104
108
105
109
### Type Parameters
106
110
107
- • ** CustomCliArguments** * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
111
+ #### CustomCliArguments
112
+
113
+ ` CustomCliArguments ` * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
108
114
109
115
### Parameters
110
116
@@ -127,7 +133,7 @@ if any other exception occurs, or `Arguments` otherwise.
127
133
128
134
> ** runProgram** \< ` CustomCliArguments ` \> (` commandModulesPath ` , ` argv ` ): [ ` RunProgramReturnType ` ] ( ../type-aliases/RunProgramReturnType.md ) \< ` CustomCliArguments ` \>
129
135
130
- Defined in: [ src/index.ts:742] ( https://github.com/Xunnamius/black-flag/blob/aaa1a74457790f285cb2c85d4d6a7ee05978fc42 /src/index.ts#L742 )
136
+ Defined in: [ src/index.ts:742] ( https://github.com/Xunnamius/black-flag/blob/dca16a7cbf43b7d8428fc9b34cc49fc69b7b6672 /src/index.ts#L742 )
131
137
132
138
Invokes the dynamically imported
133
139
` configureProgram(commandModulesPath).execute(argv) ` function. If ` argv ` is a
@@ -145,7 +151,9 @@ desired.
145
151
146
152
### Type Parameters
147
153
148
- • ** CustomCliArguments** * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
154
+ #### CustomCliArguments
155
+
156
+ ` CustomCliArguments ` * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
149
157
150
158
### Parameters
151
159
@@ -168,7 +176,7 @@ if any other exception occurs, or `Arguments` otherwise.
168
176
169
177
> ** runProgram** \< ` CustomCliArguments ` \> (` commandModulesPath ` , ` argv ` , ` configurationHooks ` ): [ ` RunProgramReturnType ` ] ( ../type-aliases/RunProgramReturnType.md ) \< ` CustomCliArguments ` \>
170
178
171
- Defined in: [ src/index.ts:766] ( https://github.com/Xunnamius/black-flag/blob/aaa1a74457790f285cb2c85d4d6a7ee05978fc42 /src/index.ts#L766 )
179
+ Defined in: [ src/index.ts:766] ( https://github.com/Xunnamius/black-flag/blob/dca16a7cbf43b7d8428fc9b34cc49fc69b7b6672 /src/index.ts#L766 )
172
180
173
181
Invokes the dynamically imported `configureProgram(commandModulesPath,
174
182
configurationHooks).execute(argv)` function. If ` argv` is a string, ` argv =
@@ -186,7 +194,9 @@ desired.
186
194
187
195
### Type Parameters
188
196
189
- • ** CustomCliArguments** * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
197
+ #### CustomCliArguments
198
+
199
+ ` CustomCliArguments ` * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
190
200
191
201
### Parameters
192
202
@@ -213,7 +223,7 @@ if any other exception occurs, or `Arguments` otherwise.
213
223
214
224
> ** runProgram** \< ` CustomCliArguments ` \> (` commandModulesPath ` , ` argv ` , ` preExecutionContext ` ): [ ` RunProgramReturnType ` ] ( ../type-aliases/RunProgramReturnType.md ) \< ` CustomCliArguments ` \>
215
225
216
- Defined in: [ src/index.ts:792] ( https://github.com/Xunnamius/black-flag/blob/aaa1a74457790f285cb2c85d4d6a7ee05978fc42 /src/index.ts#L792 )
226
+ Defined in: [ src/index.ts:792] ( https://github.com/Xunnamius/black-flag/blob/dca16a7cbf43b7d8428fc9b34cc49fc69b7b6672 /src/index.ts#L792 )
217
227
218
228
Invokes the ` preExecutionContext.execute(argv) ` function. If ` argv ` is a
219
229
string, ` argv = argv.split(' ') ` is applied first.
@@ -232,7 +242,9 @@ is returned.
232
242
233
243
### Type Parameters
234
244
235
- • ** CustomCliArguments** * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
245
+ #### CustomCliArguments
246
+
247
+ ` CustomCliArguments ` * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
236
248
237
249
### Parameters
238
250
@@ -259,7 +271,7 @@ if any other exception occurs, or `Arguments` otherwise.
259
271
260
272
> ** runProgram** \< ` CustomCliArguments ` \> (...` args ` ): [ ` RunProgramReturnType ` ] ( ../type-aliases/RunProgramReturnType.md ) \< ` CustomCliArguments ` \>
261
273
262
- Defined in: [ src/index.ts:812] ( https://github.com/Xunnamius/black-flag/blob/aaa1a74457790f285cb2c85d4d6a7ee05978fc42 /src/index.ts#L812 )
274
+ Defined in: [ src/index.ts:812] ( https://github.com/Xunnamius/black-flag/blob/dca16a7cbf43b7d8428fc9b34cc49fc69b7b6672 /src/index.ts#L812 )
263
275
264
276
Run the given program with the configuration given in ` args ` .
265
277
@@ -272,7 +284,9 @@ is returned.
272
284
273
285
### Type Parameters
274
286
275
- • ** CustomCliArguments** * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
287
+ #### CustomCliArguments
288
+
289
+ ` CustomCliArguments ` * extends* ` Record ` \< ` string ` , ` unknown ` \> = ` Record ` \< ` string ` , ` unknown ` \>
276
290
277
291
### Parameters
278
292
0 commit comments