@teambit/cli 0.0.898 → 0.0.900
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_harmony_cli-preview.js +1 -1
- package/artifacts/schema.json +405 -229
- package/dist/cli.cmd.d.ts +1 -2
- package/dist/cli.cmd.js +5 -5
- package/dist/cli.cmd.js.map +1 -1
- package/dist/cli.main.runtime.js +10 -27
- package/dist/cli.main.runtime.js.map +1 -1
- package/dist/command-runner.d.ts +1 -0
- package/dist/command-runner.js +7 -9
- package/dist/command-runner.js.map +1 -1
- package/dist/generate-doc-md.js.map +1 -1
- package/dist/handle-errors.d.ts +2 -0
- package/dist/handle-errors.js +63 -0
- package/dist/handle-errors.js.map +1 -0
- package/dist/help.cmd.d.ts +1 -2
- package/dist/help.cmd.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +22 -1
- package/dist/index.js.map +1 -1
- package/dist/{preview-1719751947574.js → preview-1719976973592.js} +2 -2
- package/dist/version.cmd.d.ts +3 -4
- package/dist/version.cmd.js +4 -4
- package/dist/version.cmd.js.map +1 -1
- package/package.json +6 -5
- package/dist/legacy-command-adapter.d.ts +0 -30
- package/dist/legacy-command-adapter.js +0 -70
- package/dist/legacy-command-adapter.js.map +0 -1
package/artifacts/schema.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"__schema": "ClassSchema",
|
|
26
26
|
"location": {
|
|
27
27
|
"filePath": "cli.main.runtime.ts",
|
|
28
|
-
"line":
|
|
28
|
+
"line": 28,
|
|
29
29
|
"character": 1
|
|
30
30
|
},
|
|
31
31
|
"signature": "class CLIMain",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"__schema": "VariableLikeSchema",
|
|
36
36
|
"location": {
|
|
37
37
|
"filePath": "cli.main.runtime.ts",
|
|
38
|
-
"line":
|
|
38
|
+
"line": 29,
|
|
39
39
|
"character": 3
|
|
40
40
|
},
|
|
41
41
|
"signature": "(property) CLIMain.groups: GroupsType",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"__schema": "TypeRefSchema",
|
|
45
45
|
"location": {
|
|
46
46
|
"filePath": "cli.main.runtime.ts",
|
|
47
|
-
"line":
|
|
47
|
+
"line": 29,
|
|
48
48
|
"character": 3
|
|
49
49
|
},
|
|
50
50
|
"name": "GroupsType",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"__schema": "ConstructorSchema",
|
|
58
58
|
"location": {
|
|
59
59
|
"filePath": "cli.main.runtime.ts",
|
|
60
|
-
"line":
|
|
60
|
+
"line": 30,
|
|
61
61
|
"character": 3
|
|
62
62
|
},
|
|
63
63
|
"signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onCommandStartSlot: OnCommandStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"__schema": "ParameterSchema",
|
|
68
68
|
"location": {
|
|
69
69
|
"filePath": "cli.main.runtime.ts",
|
|
70
|
-
"line":
|
|
70
|
+
"line": 31,
|
|
71
71
|
"character": 5
|
|
72
72
|
},
|
|
73
73
|
"name": "commandsSlot",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"__schema": "TypeRefSchema",
|
|
76
76
|
"location": {
|
|
77
77
|
"filePath": "cli.main.runtime.ts",
|
|
78
|
-
"line":
|
|
78
|
+
"line": 31,
|
|
79
79
|
"character": 27
|
|
80
80
|
},
|
|
81
81
|
"name": "CommandsSlot"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"__schema": "ParameterSchema",
|
|
88
88
|
"location": {
|
|
89
89
|
"filePath": "cli.main.runtime.ts",
|
|
90
|
-
"line":
|
|
90
|
+
"line": 32,
|
|
91
91
|
"character": 5
|
|
92
92
|
},
|
|
93
93
|
"name": "onStartSlot",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"__schema": "TypeRefSchema",
|
|
96
96
|
"location": {
|
|
97
97
|
"filePath": "cli.main.runtime.ts",
|
|
98
|
-
"line":
|
|
98
|
+
"line": 32,
|
|
99
99
|
"character": 26
|
|
100
100
|
},
|
|
101
101
|
"name": "OnStartSlot",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"__schema": "ParameterSchema",
|
|
109
109
|
"location": {
|
|
110
110
|
"filePath": "cli.main.runtime.ts",
|
|
111
|
-
"line":
|
|
111
|
+
"line": 33,
|
|
112
112
|
"character": 5
|
|
113
113
|
},
|
|
114
114
|
"name": "onCommandStartSlot",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"__schema": "TypeRefSchema",
|
|
117
117
|
"location": {
|
|
118
118
|
"filePath": "cli.main.runtime.ts",
|
|
119
|
-
"line":
|
|
119
|
+
"line": 33,
|
|
120
120
|
"character": 34
|
|
121
121
|
},
|
|
122
122
|
"name": "OnCommandStartSlot",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"__schema": "ParameterSchema",
|
|
130
130
|
"location": {
|
|
131
131
|
"filePath": "cli.main.runtime.ts",
|
|
132
|
-
"line":
|
|
132
|
+
"line": 34,
|
|
133
133
|
"character": 5
|
|
134
134
|
},
|
|
135
135
|
"name": "onBeforeExitSlot",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"__schema": "TypeRefSchema",
|
|
138
138
|
"location": {
|
|
139
139
|
"filePath": "cli.main.runtime.ts",
|
|
140
|
-
"line":
|
|
140
|
+
"line": 34,
|
|
141
141
|
"character": 31
|
|
142
142
|
},
|
|
143
143
|
"name": "OnBeforeExitSlot",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"__schema": "ParameterSchema",
|
|
151
151
|
"location": {
|
|
152
152
|
"filePath": "cli.main.runtime.ts",
|
|
153
|
-
"line":
|
|
153
|
+
"line": 35,
|
|
154
154
|
"character": 5
|
|
155
155
|
},
|
|
156
156
|
"name": "logger",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"__schema": "TypeRefSchema",
|
|
159
159
|
"location": {
|
|
160
160
|
"filePath": "cli.main.runtime.ts",
|
|
161
|
-
"line":
|
|
161
|
+
"line": 35,
|
|
162
162
|
"character": 21
|
|
163
163
|
},
|
|
164
164
|
"name": "Logger",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"__schema": "ThisTypeSchema",
|
|
176
176
|
"location": {
|
|
177
177
|
"filePath": "cli.main.runtime.ts",
|
|
178
|
-
"line":
|
|
178
|
+
"line": 28,
|
|
179
179
|
"character": 1
|
|
180
180
|
},
|
|
181
181
|
"name": "CLIMain"
|
|
@@ -186,14 +186,14 @@
|
|
|
186
186
|
"__schema": "FunctionLikeSchema",
|
|
187
187
|
"location": {
|
|
188
188
|
"filePath": "cli.main.runtime.ts",
|
|
189
|
-
"line":
|
|
189
|
+
"line": 41,
|
|
190
190
|
"character": 3
|
|
191
191
|
},
|
|
192
192
|
"doc": {
|
|
193
193
|
"__schema": "DocSchema",
|
|
194
194
|
"location": {
|
|
195
195
|
"filePath": "cli.main.runtime.ts",
|
|
196
|
-
"line":
|
|
196
|
+
"line": 38,
|
|
197
197
|
"character": 3
|
|
198
198
|
},
|
|
199
199
|
"raw": "/**\n * registers a new command in to the CLI.\n */",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"__schema": "ParameterSchema",
|
|
208
208
|
"location": {
|
|
209
209
|
"filePath": "cli.main.runtime.ts",
|
|
210
|
-
"line":
|
|
210
|
+
"line": 41,
|
|
211
211
|
"character": 12
|
|
212
212
|
},
|
|
213
213
|
"name": "commands",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"__schema": "TypeRefSchema",
|
|
216
216
|
"location": {
|
|
217
217
|
"filePath": "cli.main.runtime.ts",
|
|
218
|
-
"line":
|
|
218
|
+
"line": 41,
|
|
219
219
|
"character": 25
|
|
220
220
|
},
|
|
221
221
|
"name": "CommandList"
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
"__schema": "InferenceTypeSchema",
|
|
229
229
|
"location": {
|
|
230
230
|
"filePath": "cli.main.runtime.ts",
|
|
231
|
-
"line":
|
|
231
|
+
"line": 41,
|
|
232
232
|
"character": 3
|
|
233
233
|
},
|
|
234
234
|
"type": "void"
|
|
@@ -239,14 +239,14 @@
|
|
|
239
239
|
"__schema": "FunctionLikeSchema",
|
|
240
240
|
"location": {
|
|
241
241
|
"filePath": "cli.main.runtime.ts",
|
|
242
|
-
"line":
|
|
242
|
+
"line": 54,
|
|
243
243
|
"character": 3
|
|
244
244
|
},
|
|
245
245
|
"doc": {
|
|
246
246
|
"__schema": "DocSchema",
|
|
247
247
|
"location": {
|
|
248
248
|
"filePath": "cli.main.runtime.ts",
|
|
249
|
-
"line":
|
|
249
|
+
"line": 50,
|
|
250
250
|
"character": 3
|
|
251
251
|
},
|
|
252
252
|
"raw": "/**\n * helpful for having the same command name in different environments (e.g. legacy and non-legacy).\n * for example `cli.unregister('tag');` removes the \"bit tag\" command.\n */",
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
"__schema": "ParameterSchema",
|
|
261
261
|
"location": {
|
|
262
262
|
"filePath": "cli.main.runtime.ts",
|
|
263
|
-
"line":
|
|
263
|
+
"line": 54,
|
|
264
264
|
"character": 14
|
|
265
265
|
},
|
|
266
266
|
"name": "commandName",
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
"__schema": "KeywordTypeSchema",
|
|
269
269
|
"location": {
|
|
270
270
|
"filePath": "cli.main.runtime.ts",
|
|
271
|
-
"line":
|
|
271
|
+
"line": 54,
|
|
272
272
|
"character": 27
|
|
273
273
|
},
|
|
274
274
|
"name": "string"
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"__schema": "InferenceTypeSchema",
|
|
282
282
|
"location": {
|
|
283
283
|
"filePath": "cli.main.runtime.ts",
|
|
284
|
-
"line":
|
|
284
|
+
"line": 54,
|
|
285
285
|
"character": 3
|
|
286
286
|
},
|
|
287
287
|
"type": "void"
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"__schema": "GetAccessorSchema",
|
|
293
293
|
"location": {
|
|
294
294
|
"filePath": "cli.main.runtime.ts",
|
|
295
|
-
"line":
|
|
295
|
+
"line": 66,
|
|
296
296
|
"character": 3
|
|
297
297
|
},
|
|
298
298
|
"signature": "(getter) CLIMain.commands: CommandList",
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"__schema": "TypeRefSchema",
|
|
302
302
|
"location": {
|
|
303
303
|
"filePath": "cli.main.runtime.ts",
|
|
304
|
-
"line":
|
|
304
|
+
"line": 66,
|
|
305
305
|
"character": 3
|
|
306
306
|
},
|
|
307
307
|
"name": "CommandList"
|
|
@@ -311,14 +311,14 @@
|
|
|
311
311
|
"__schema": "FunctionLikeSchema",
|
|
312
312
|
"location": {
|
|
313
313
|
"filePath": "cli.main.runtime.ts",
|
|
314
|
-
"line":
|
|
314
|
+
"line": 73,
|
|
315
315
|
"character": 3
|
|
316
316
|
},
|
|
317
317
|
"doc": {
|
|
318
318
|
"__schema": "DocSchema",
|
|
319
319
|
"location": {
|
|
320
320
|
"filePath": "cli.main.runtime.ts",
|
|
321
|
-
"line":
|
|
321
|
+
"line": 70,
|
|
322
322
|
"character": 3
|
|
323
323
|
},
|
|
324
324
|
"raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"__schema": "ParameterSchema",
|
|
333
333
|
"location": {
|
|
334
334
|
"filePath": "cli.main.runtime.ts",
|
|
335
|
-
"line":
|
|
335
|
+
"line": 73,
|
|
336
336
|
"character": 14
|
|
337
337
|
},
|
|
338
338
|
"name": "name",
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
"__schema": "KeywordTypeSchema",
|
|
341
341
|
"location": {
|
|
342
342
|
"filePath": "cli.main.runtime.ts",
|
|
343
|
-
"line":
|
|
343
|
+
"line": 73,
|
|
344
344
|
"character": 20
|
|
345
345
|
},
|
|
346
346
|
"name": "string"
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
"__schema": "TypeUnionSchema",
|
|
354
354
|
"location": {
|
|
355
355
|
"filePath": "cli.main.runtime.ts",
|
|
356
|
-
"line":
|
|
356
|
+
"line": 73,
|
|
357
357
|
"character": 29
|
|
358
358
|
},
|
|
359
359
|
"types": [
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
"__schema": "TypeRefSchema",
|
|
362
362
|
"location": {
|
|
363
363
|
"filePath": "cli.main.runtime.ts",
|
|
364
|
-
"line":
|
|
364
|
+
"line": 73,
|
|
365
365
|
"character": 29
|
|
366
366
|
},
|
|
367
367
|
"name": "Command",
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
"__schema": "KeywordTypeSchema",
|
|
372
372
|
"location": {
|
|
373
373
|
"filePath": "cli.main.runtime.ts",
|
|
374
|
-
"line":
|
|
374
|
+
"line": 73,
|
|
375
375
|
"character": 39
|
|
376
376
|
},
|
|
377
377
|
"name": "undefined"
|
|
@@ -384,14 +384,14 @@
|
|
|
384
384
|
"__schema": "FunctionLikeSchema",
|
|
385
385
|
"location": {
|
|
386
386
|
"filePath": "cli.main.runtime.ts",
|
|
387
|
-
"line":
|
|
387
|
+
"line": 83,
|
|
388
388
|
"character": 3
|
|
389
389
|
},
|
|
390
390
|
"doc": {
|
|
391
391
|
"__schema": "DocSchema",
|
|
392
392
|
"location": {
|
|
393
393
|
"filePath": "cli.main.runtime.ts",
|
|
394
|
-
"line":
|
|
394
|
+
"line": 77,
|
|
395
395
|
"character": 3
|
|
396
396
|
},
|
|
397
397
|
"raw": "/**\n * when running `bit help`, commands are grouped by categories.\n * this method helps registering a new group by providing its name and a description.\n * the name is what needs to be assigned to the `group` property of the Command interface.\n * the description is what shown in the `bit help` output.\n */",
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
"__schema": "ParameterSchema",
|
|
406
406
|
"location": {
|
|
407
407
|
"filePath": "cli.main.runtime.ts",
|
|
408
|
-
"line":
|
|
408
|
+
"line": 83,
|
|
409
409
|
"character": 17
|
|
410
410
|
},
|
|
411
411
|
"name": "name",
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"__schema": "KeywordTypeSchema",
|
|
414
414
|
"location": {
|
|
415
415
|
"filePath": "cli.main.runtime.ts",
|
|
416
|
-
"line":
|
|
416
|
+
"line": 83,
|
|
417
417
|
"character": 23
|
|
418
418
|
},
|
|
419
419
|
"name": "string"
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"__schema": "ParameterSchema",
|
|
426
426
|
"location": {
|
|
427
427
|
"filePath": "cli.main.runtime.ts",
|
|
428
|
-
"line":
|
|
428
|
+
"line": 83,
|
|
429
429
|
"character": 31
|
|
430
430
|
},
|
|
431
431
|
"name": "description",
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
"__schema": "KeywordTypeSchema",
|
|
434
434
|
"location": {
|
|
435
435
|
"filePath": "cli.main.runtime.ts",
|
|
436
|
-
"line":
|
|
436
|
+
"line": 83,
|
|
437
437
|
"character": 44
|
|
438
438
|
},
|
|
439
439
|
"name": "string"
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
"__schema": "InferenceTypeSchema",
|
|
447
447
|
"location": {
|
|
448
448
|
"filePath": "cli.main.runtime.ts",
|
|
449
|
-
"line":
|
|
449
|
+
"line": 83,
|
|
450
450
|
"character": 3
|
|
451
451
|
},
|
|
452
452
|
"type": "void"
|
|
@@ -457,14 +457,14 @@
|
|
|
457
457
|
"__schema": "FunctionLikeSchema",
|
|
458
458
|
"location": {
|
|
459
459
|
"filePath": "cli.main.runtime.ts",
|
|
460
|
-
"line":
|
|
460
|
+
"line": 94,
|
|
461
461
|
"character": 3
|
|
462
462
|
},
|
|
463
463
|
"doc": {
|
|
464
464
|
"__schema": "DocSchema",
|
|
465
465
|
"location": {
|
|
466
466
|
"filePath": "cli.main.runtime.ts",
|
|
467
|
-
"line":
|
|
467
|
+
"line": 91,
|
|
468
468
|
"character": 3
|
|
469
469
|
},
|
|
470
470
|
"raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
"__schema": "ParameterSchema",
|
|
479
479
|
"location": {
|
|
480
480
|
"filePath": "cli.main.runtime.ts",
|
|
481
|
-
"line":
|
|
481
|
+
"line": 94,
|
|
482
482
|
"character": 19
|
|
483
483
|
},
|
|
484
484
|
"name": "onStartFn",
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"__schema": "TypeRefSchema",
|
|
487
487
|
"location": {
|
|
488
488
|
"filePath": "cli.main.runtime.ts",
|
|
489
|
-
"line":
|
|
489
|
+
"line": 94,
|
|
490
490
|
"character": 30
|
|
491
491
|
},
|
|
492
492
|
"name": "OnStart",
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
"__schema": "TypeRefSchema",
|
|
501
501
|
"location": {
|
|
502
502
|
"filePath": "cli.main.runtime.ts",
|
|
503
|
-
"line":
|
|
503
|
+
"line": 94,
|
|
504
504
|
"character": 3
|
|
505
505
|
},
|
|
506
506
|
"name": "CLIMain"
|
|
@@ -511,14 +511,14 @@
|
|
|
511
511
|
"__schema": "FunctionLikeSchema",
|
|
512
512
|
"location": {
|
|
513
513
|
"filePath": "cli.main.runtime.ts",
|
|
514
|
-
"line":
|
|
514
|
+
"line": 103,
|
|
515
515
|
"character": 3
|
|
516
516
|
},
|
|
517
517
|
"doc": {
|
|
518
518
|
"__schema": "DocSchema",
|
|
519
519
|
"location": {
|
|
520
520
|
"filePath": "cli.main.runtime.ts",
|
|
521
|
-
"line":
|
|
521
|
+
"line": 99,
|
|
522
522
|
"character": 3
|
|
523
523
|
},
|
|
524
524
|
"raw": "/**\n * onCommandStart is when a command is about to start and we have the command object and the parsed args and flags\n * already. (it happens after onStart)\n */",
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"__schema": "ParameterSchema",
|
|
533
533
|
"location": {
|
|
534
534
|
"filePath": "cli.main.runtime.ts",
|
|
535
|
-
"line":
|
|
535
|
+
"line": 103,
|
|
536
536
|
"character": 26
|
|
537
537
|
},
|
|
538
538
|
"name": "onCommandStartFn",
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
"__schema": "TypeRefSchema",
|
|
541
541
|
"location": {
|
|
542
542
|
"filePath": "cli.main.runtime.ts",
|
|
543
|
-
"line":
|
|
543
|
+
"line": 103,
|
|
544
544
|
"character": 44
|
|
545
545
|
},
|
|
546
546
|
"name": "OnCommandStart",
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
"__schema": "TypeRefSchema",
|
|
555
555
|
"location": {
|
|
556
556
|
"filePath": "cli.main.runtime.ts",
|
|
557
|
-
"line":
|
|
557
|
+
"line": 103,
|
|
558
558
|
"character": 3
|
|
559
559
|
},
|
|
560
560
|
"name": "CLIMain"
|
|
@@ -565,14 +565,14 @@
|
|
|
565
565
|
"__schema": "FunctionLikeSchema",
|
|
566
566
|
"location": {
|
|
567
567
|
"filePath": "cli.main.runtime.ts",
|
|
568
|
-
"line":
|
|
568
|
+
"line": 123,
|
|
569
569
|
"character": 3
|
|
570
570
|
},
|
|
571
571
|
"doc": {
|
|
572
572
|
"__schema": "DocSchema",
|
|
573
573
|
"location": {
|
|
574
574
|
"filePath": "cli.main.runtime.ts",
|
|
575
|
-
"line":
|
|
575
|
+
"line": 108,
|
|
576
576
|
"character": 3
|
|
577
577
|
},
|
|
578
578
|
"raw": "/**\n * This will register a function to be called before the process exits.\n * This will run only for \"regular\" exits\n * e.g.\n * yes - command run and finished successfully\n * yes - command run and failed gracefully (code 1)\n * not SIGKILL (kill -9)\n * not SIGINT (Ctrl+C)\n * not SIGTERM (kill)\n * not uncaughtException\n * not unhandledRejection\n *\n * @param onBeforeExitFn\n * @returns\n */",
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
"__schema": "PropertyLikeTagSchema",
|
|
583
583
|
"location": {
|
|
584
584
|
"filePath": "cli.main.runtime.ts",
|
|
585
|
-
"line":
|
|
585
|
+
"line": 120,
|
|
586
586
|
"character": 6
|
|
587
587
|
},
|
|
588
588
|
"name": "onBeforeExitFn",
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
"__schema": "ReturnTagSchema",
|
|
593
593
|
"location": {
|
|
594
594
|
"filePath": "cli.main.runtime.ts",
|
|
595
|
-
"line":
|
|
595
|
+
"line": 121,
|
|
596
596
|
"character": 6
|
|
597
597
|
},
|
|
598
598
|
"tagName": "return"
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"__schema": "ParameterSchema",
|
|
607
607
|
"location": {
|
|
608
608
|
"filePath": "cli.main.runtime.ts",
|
|
609
|
-
"line":
|
|
609
|
+
"line": 123,
|
|
610
610
|
"character": 24
|
|
611
611
|
},
|
|
612
612
|
"name": "onBeforeExitFn",
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
"__schema": "TypeRefSchema",
|
|
615
615
|
"location": {
|
|
616
616
|
"filePath": "cli.main.runtime.ts",
|
|
617
|
-
"line":
|
|
617
|
+
"line": 123,
|
|
618
618
|
"character": 40
|
|
619
619
|
},
|
|
620
620
|
"name": "OnBeforeExitFn",
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"__schema": "TypeRefSchema",
|
|
629
629
|
"location": {
|
|
630
630
|
"filePath": "cli.main.runtime.ts",
|
|
631
|
-
"line":
|
|
631
|
+
"line": 123,
|
|
632
632
|
"character": 3
|
|
633
633
|
},
|
|
634
634
|
"name": "CLIMain"
|
|
@@ -639,14 +639,14 @@
|
|
|
639
639
|
"__schema": "FunctionLikeSchema",
|
|
640
640
|
"location": {
|
|
641
641
|
"filePath": "cli.main.runtime.ts",
|
|
642
|
-
"line":
|
|
642
|
+
"line": 132,
|
|
643
643
|
"character": 3
|
|
644
644
|
},
|
|
645
645
|
"doc": {
|
|
646
646
|
"__schema": "DocSchema",
|
|
647
647
|
"location": {
|
|
648
648
|
"filePath": "cli.main.runtime.ts",
|
|
649
|
-
"line":
|
|
649
|
+
"line": 129,
|
|
650
650
|
"character": 3
|
|
651
651
|
},
|
|
652
652
|
"raw": "/**\n * execute commands registered to this aspect.\n */",
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"__schema": "ParameterSchema",
|
|
661
661
|
"location": {
|
|
662
662
|
"filePath": "cli.main.runtime.ts",
|
|
663
|
-
"line":
|
|
663
|
+
"line": 132,
|
|
664
664
|
"character": 13
|
|
665
665
|
},
|
|
666
666
|
"name": "hasWorkspace",
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
"__schema": "KeywordTypeSchema",
|
|
669
669
|
"location": {
|
|
670
670
|
"filePath": "cli.main.runtime.ts",
|
|
671
|
-
"line":
|
|
671
|
+
"line": 132,
|
|
672
672
|
"character": 27
|
|
673
673
|
},
|
|
674
674
|
"name": "boolean"
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
"__schema": "InferenceTypeSchema",
|
|
682
682
|
"location": {
|
|
683
683
|
"filePath": "cli.main.runtime.ts",
|
|
684
|
-
"line":
|
|
684
|
+
"line": 132,
|
|
685
685
|
"character": 3
|
|
686
686
|
},
|
|
687
687
|
"type": "Promise<void>"
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
"__schema": "VariableLikeSchema",
|
|
695
695
|
"location": {
|
|
696
696
|
"filePath": "cli.main.runtime.ts",
|
|
697
|
-
"line":
|
|
697
|
+
"line": 165,
|
|
698
698
|
"character": 3
|
|
699
699
|
},
|
|
700
700
|
"signature": "(property) CLIMain.dependencies: Aspect[]",
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
"__schema": "InferenceTypeSchema",
|
|
704
704
|
"location": {
|
|
705
705
|
"filePath": "cli.main.runtime.ts",
|
|
706
|
-
"line":
|
|
706
|
+
"line": 165,
|
|
707
707
|
"character": 3
|
|
708
708
|
},
|
|
709
709
|
"type": "Aspect[]"
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
"__schema": "VariableLikeSchema",
|
|
716
716
|
"location": {
|
|
717
717
|
"filePath": "cli.main.runtime.ts",
|
|
718
|
-
"line":
|
|
718
|
+
"line": 166,
|
|
719
719
|
"character": 3
|
|
720
720
|
},
|
|
721
721
|
"signature": "(property) CLIMain.runtime: RuntimeDefinition",
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
"__schema": "InferenceTypeSchema",
|
|
725
725
|
"location": {
|
|
726
726
|
"filePath": "cli.main.runtime.ts",
|
|
727
|
-
"line":
|
|
727
|
+
"line": 166,
|
|
728
728
|
"character": 3
|
|
729
729
|
},
|
|
730
730
|
"type": "RuntimeDefinition"
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
"__schema": "VariableLikeSchema",
|
|
737
737
|
"location": {
|
|
738
738
|
"filePath": "cli.main.runtime.ts",
|
|
739
|
-
"line":
|
|
739
|
+
"line": 167,
|
|
740
740
|
"character": 3
|
|
741
741
|
},
|
|
742
742
|
"signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
"__schema": "InferenceTypeSchema",
|
|
746
746
|
"location": {
|
|
747
747
|
"filePath": "cli.main.runtime.ts",
|
|
748
|
-
"line":
|
|
748
|
+
"line": 167,
|
|
749
749
|
"character": 3
|
|
750
750
|
},
|
|
751
751
|
"type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
|
|
@@ -757,7 +757,7 @@
|
|
|
757
757
|
"__schema": "FunctionLikeSchema",
|
|
758
758
|
"location": {
|
|
759
759
|
"filePath": "cli.main.runtime.ts",
|
|
760
|
-
"line":
|
|
760
|
+
"line": 174,
|
|
761
761
|
"character": 3
|
|
762
762
|
},
|
|
763
763
|
"signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
"__schema": "ParameterSchema",
|
|
768
768
|
"location": {
|
|
769
769
|
"filePath": "cli.main.runtime.ts",
|
|
770
|
-
"line":
|
|
770
|
+
"line": 175,
|
|
771
771
|
"character": 5
|
|
772
772
|
},
|
|
773
773
|
"name": "[ loggerMain ]",
|
|
@@ -775,7 +775,7 @@
|
|
|
775
775
|
"__schema": "TupleTypeSchema",
|
|
776
776
|
"location": {
|
|
777
777
|
"filePath": "cli.main.runtime.ts",
|
|
778
|
-
"line":
|
|
778
|
+
"line": 175,
|
|
779
779
|
"character": 19
|
|
780
780
|
},
|
|
781
781
|
"elements": [
|
|
@@ -783,7 +783,7 @@
|
|
|
783
783
|
"__schema": "TypeRefSchema",
|
|
784
784
|
"location": {
|
|
785
785
|
"filePath": "cli.main.runtime.ts",
|
|
786
|
-
"line":
|
|
786
|
+
"line": 175,
|
|
787
787
|
"character": 20
|
|
788
788
|
},
|
|
789
789
|
"name": "LoggerMain",
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
"__schema": "ParameterSchema",
|
|
802
802
|
"location": {
|
|
803
803
|
"filePath": "cli.main.runtime.ts",
|
|
804
|
-
"line":
|
|
804
|
+
"line": 176,
|
|
805
805
|
"character": 5
|
|
806
806
|
},
|
|
807
807
|
"name": "config",
|
|
@@ -809,7 +809,7 @@
|
|
|
809
809
|
"__schema": "InferenceTypeSchema",
|
|
810
810
|
"location": {
|
|
811
811
|
"filePath": "cli.main.runtime.ts",
|
|
812
|
-
"line":
|
|
812
|
+
"line": 176,
|
|
813
813
|
"character": 5
|
|
814
814
|
},
|
|
815
815
|
"type": "any"
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
"__schema": "ParameterSchema",
|
|
822
822
|
"location": {
|
|
823
823
|
"filePath": "cli.main.runtime.ts",
|
|
824
|
-
"line":
|
|
824
|
+
"line": 177,
|
|
825
825
|
"character": 5
|
|
826
826
|
},
|
|
827
827
|
"name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
"__schema": "TupleTypeSchema",
|
|
830
830
|
"location": {
|
|
831
831
|
"filePath": "cli.main.runtime.ts",
|
|
832
|
-
"line":
|
|
832
|
+
"line": 177,
|
|
833
833
|
"character": 72
|
|
834
834
|
},
|
|
835
835
|
"elements": [
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
"__schema": "TypeRefSchema",
|
|
838
838
|
"location": {
|
|
839
839
|
"filePath": "cli.main.runtime.ts",
|
|
840
|
-
"line":
|
|
840
|
+
"line": 178,
|
|
841
841
|
"character": 7
|
|
842
842
|
},
|
|
843
843
|
"name": "CommandsSlot"
|
|
@@ -846,7 +846,7 @@
|
|
|
846
846
|
"__schema": "TypeRefSchema",
|
|
847
847
|
"location": {
|
|
848
848
|
"filePath": "cli.main.runtime.ts",
|
|
849
|
-
"line":
|
|
849
|
+
"line": 179,
|
|
850
850
|
"character": 7
|
|
851
851
|
},
|
|
852
852
|
"name": "OnStartSlot",
|
|
@@ -856,7 +856,7 @@
|
|
|
856
856
|
"__schema": "TypeRefSchema",
|
|
857
857
|
"location": {
|
|
858
858
|
"filePath": "cli.main.runtime.ts",
|
|
859
|
-
"line":
|
|
859
|
+
"line": 180,
|
|
860
860
|
"character": 7
|
|
861
861
|
},
|
|
862
862
|
"name": "OnCommandStartSlot",
|
|
@@ -866,7 +866,7 @@
|
|
|
866
866
|
"__schema": "TypeRefSchema",
|
|
867
867
|
"location": {
|
|
868
868
|
"filePath": "cli.main.runtime.ts",
|
|
869
|
-
"line":
|
|
869
|
+
"line": 181,
|
|
870
870
|
"character": 7
|
|
871
871
|
},
|
|
872
872
|
"name": "OnBeforeExitSlot",
|
|
@@ -882,7 +882,7 @@
|
|
|
882
882
|
"__schema": "InferenceTypeSchema",
|
|
883
883
|
"location": {
|
|
884
884
|
"filePath": "cli.main.runtime.ts",
|
|
885
|
-
"line":
|
|
885
|
+
"line": 174,
|
|
886
886
|
"character": 3
|
|
887
887
|
},
|
|
888
888
|
"type": "Promise<CLIMain>"
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
"__schema": "TypeSchema",
|
|
910
910
|
"location": {
|
|
911
911
|
"filePath": "cli.main.runtime.ts",
|
|
912
|
-
"line":
|
|
912
|
+
"line": 18,
|
|
913
913
|
"character": 1
|
|
914
914
|
},
|
|
915
915
|
"signature": "type CommandList = Command[]",
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
"__schema": "TypeRefSchema",
|
|
919
919
|
"location": {
|
|
920
920
|
"filePath": "cli.main.runtime.ts",
|
|
921
|
-
"line":
|
|
921
|
+
"line": 18,
|
|
922
922
|
"character": 27
|
|
923
923
|
},
|
|
924
924
|
"name": "Array",
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
"__schema": "TypeRefSchema",
|
|
928
928
|
"location": {
|
|
929
929
|
"filePath": "cli.main.runtime.ts",
|
|
930
|
-
"line":
|
|
930
|
+
"line": 18,
|
|
931
931
|
"character": 33
|
|
932
932
|
},
|
|
933
933
|
"name": "Command",
|
|
@@ -949,7 +949,7 @@
|
|
|
949
949
|
"__schema": "TypeSchema",
|
|
950
950
|
"location": {
|
|
951
951
|
"filePath": "cli.main.runtime.ts",
|
|
952
|
-
"line":
|
|
952
|
+
"line": 25,
|
|
953
953
|
"character": 1
|
|
954
954
|
},
|
|
955
955
|
"signature": "type CommandsSlot = SlotRegistry<CommandList>",
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
"__schema": "TypeRefSchema",
|
|
959
959
|
"location": {
|
|
960
960
|
"filePath": "cli.main.runtime.ts",
|
|
961
|
-
"line":
|
|
961
|
+
"line": 25,
|
|
962
962
|
"character": 28
|
|
963
963
|
},
|
|
964
964
|
"name": "SlotRegistry",
|
|
@@ -972,7 +972,7 @@
|
|
|
972
972
|
"__schema": "TypeRefSchema",
|
|
973
973
|
"location": {
|
|
974
974
|
"filePath": "cli.main.runtime.ts",
|
|
975
|
-
"line":
|
|
975
|
+
"line": 25,
|
|
976
976
|
"character": 41
|
|
977
977
|
},
|
|
978
978
|
"name": "CommandList"
|
|
@@ -986,6 +986,182 @@
|
|
|
986
986
|
"location": {
|
|
987
987
|
"filePath": "index.ts",
|
|
988
988
|
"line": 4,
|
|
989
|
+
"character": 10
|
|
990
|
+
},
|
|
991
|
+
"name": "handleUnhandledRejection",
|
|
992
|
+
"exportNode": {
|
|
993
|
+
"__schema": "FunctionLikeSchema",
|
|
994
|
+
"location": {
|
|
995
|
+
"filePath": "handle-errors.ts",
|
|
996
|
+
"line": 20,
|
|
997
|
+
"character": 1
|
|
998
|
+
},
|
|
999
|
+
"signature": "function handleUnhandledRejection(err: Error | null | undefined | {}): Promise<void>",
|
|
1000
|
+
"name": "handleUnhandledRejection",
|
|
1001
|
+
"params": [
|
|
1002
|
+
{
|
|
1003
|
+
"__schema": "ParameterSchema",
|
|
1004
|
+
"location": {
|
|
1005
|
+
"filePath": "handle-errors.ts",
|
|
1006
|
+
"line": 20,
|
|
1007
|
+
"character": 48
|
|
1008
|
+
},
|
|
1009
|
+
"name": "err",
|
|
1010
|
+
"type": {
|
|
1011
|
+
"__schema": "TypeUnionSchema",
|
|
1012
|
+
"location": {
|
|
1013
|
+
"filePath": "handle-errors.ts",
|
|
1014
|
+
"line": 20,
|
|
1015
|
+
"character": 53
|
|
1016
|
+
},
|
|
1017
|
+
"types": [
|
|
1018
|
+
{
|
|
1019
|
+
"__schema": "TypeRefSchema",
|
|
1020
|
+
"location": {
|
|
1021
|
+
"filePath": "handle-errors.ts",
|
|
1022
|
+
"line": 20,
|
|
1023
|
+
"character": 53
|
|
1024
|
+
},
|
|
1025
|
+
"name": "Error"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"__schema": "LiteralTypeSchema",
|
|
1029
|
+
"location": {
|
|
1030
|
+
"filePath": "handle-errors.ts",
|
|
1031
|
+
"line": 20,
|
|
1032
|
+
"character": 61
|
|
1033
|
+
},
|
|
1034
|
+
"name": "null"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"__schema": "KeywordTypeSchema",
|
|
1038
|
+
"location": {
|
|
1039
|
+
"filePath": "handle-errors.ts",
|
|
1040
|
+
"line": 20,
|
|
1041
|
+
"character": 68
|
|
1042
|
+
},
|
|
1043
|
+
"name": "undefined"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"__schema": "TypeLiteralSchema",
|
|
1047
|
+
"location": {
|
|
1048
|
+
"filePath": "handle-errors.ts",
|
|
1049
|
+
"line": 20,
|
|
1050
|
+
"character": 80
|
|
1051
|
+
},
|
|
1052
|
+
"members": []
|
|
1053
|
+
}
|
|
1054
|
+
]
|
|
1055
|
+
},
|
|
1056
|
+
"isOptional": false,
|
|
1057
|
+
"isSpread": false
|
|
1058
|
+
}
|
|
1059
|
+
],
|
|
1060
|
+
"returnType": {
|
|
1061
|
+
"__schema": "InferenceTypeSchema",
|
|
1062
|
+
"location": {
|
|
1063
|
+
"filePath": "handle-errors.ts",
|
|
1064
|
+
"line": 20,
|
|
1065
|
+
"character": 1
|
|
1066
|
+
},
|
|
1067
|
+
"type": "Promise<void>"
|
|
1068
|
+
},
|
|
1069
|
+
"modifiers": [
|
|
1070
|
+
"export",
|
|
1071
|
+
"async"
|
|
1072
|
+
]
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"__schema": "ExportSchema",
|
|
1077
|
+
"location": {
|
|
1078
|
+
"filePath": "index.ts",
|
|
1079
|
+
"line": 4,
|
|
1080
|
+
"character": 36
|
|
1081
|
+
},
|
|
1082
|
+
"name": "handleErrorAndExit",
|
|
1083
|
+
"exportNode": {
|
|
1084
|
+
"__schema": "FunctionLikeSchema",
|
|
1085
|
+
"location": {
|
|
1086
|
+
"filePath": "handle-errors.ts",
|
|
1087
|
+
"line": 5,
|
|
1088
|
+
"character": 1
|
|
1089
|
+
},
|
|
1090
|
+
"signature": "function handleErrorAndExit(err: Error, commandName: string): Promise<void>",
|
|
1091
|
+
"name": "handleErrorAndExit",
|
|
1092
|
+
"params": [
|
|
1093
|
+
{
|
|
1094
|
+
"__schema": "ParameterSchema",
|
|
1095
|
+
"location": {
|
|
1096
|
+
"filePath": "handle-errors.ts",
|
|
1097
|
+
"line": 5,
|
|
1098
|
+
"character": 42
|
|
1099
|
+
},
|
|
1100
|
+
"name": "err",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"__schema": "TypeRefSchema",
|
|
1103
|
+
"location": {
|
|
1104
|
+
"filePath": "handle-errors.ts",
|
|
1105
|
+
"line": 5,
|
|
1106
|
+
"character": 47
|
|
1107
|
+
},
|
|
1108
|
+
"name": "Error"
|
|
1109
|
+
},
|
|
1110
|
+
"isOptional": false,
|
|
1111
|
+
"isSpread": false
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"__schema": "ParameterSchema",
|
|
1115
|
+
"location": {
|
|
1116
|
+
"filePath": "handle-errors.ts",
|
|
1117
|
+
"line": 5,
|
|
1118
|
+
"character": 54
|
|
1119
|
+
},
|
|
1120
|
+
"name": "commandName",
|
|
1121
|
+
"type": {
|
|
1122
|
+
"__schema": "KeywordTypeSchema",
|
|
1123
|
+
"location": {
|
|
1124
|
+
"filePath": "handle-errors.ts",
|
|
1125
|
+
"line": 5,
|
|
1126
|
+
"character": 67
|
|
1127
|
+
},
|
|
1128
|
+
"name": "string"
|
|
1129
|
+
},
|
|
1130
|
+
"isOptional": false,
|
|
1131
|
+
"isSpread": false
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"returnType": {
|
|
1135
|
+
"__schema": "TypeRefSchema",
|
|
1136
|
+
"location": {
|
|
1137
|
+
"filePath": "handle-errors.ts",
|
|
1138
|
+
"line": 5,
|
|
1139
|
+
"character": 76
|
|
1140
|
+
},
|
|
1141
|
+
"name": "Promise",
|
|
1142
|
+
"typeArgs": [
|
|
1143
|
+
{
|
|
1144
|
+
"__schema": "KeywordTypeSchema",
|
|
1145
|
+
"location": {
|
|
1146
|
+
"filePath": "handle-errors.ts",
|
|
1147
|
+
"line": 5,
|
|
1148
|
+
"character": 84
|
|
1149
|
+
},
|
|
1150
|
+
"name": "void"
|
|
1151
|
+
}
|
|
1152
|
+
]
|
|
1153
|
+
},
|
|
1154
|
+
"modifiers": [
|
|
1155
|
+
"export",
|
|
1156
|
+
"async"
|
|
1157
|
+
]
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"__schema": "ExportSchema",
|
|
1162
|
+
"location": {
|
|
1163
|
+
"filePath": "index.ts",
|
|
1164
|
+
"line": 5,
|
|
989
1165
|
"character": 15
|
|
990
1166
|
},
|
|
991
1167
|
"name": "Command",
|
|
@@ -993,7 +1169,7 @@
|
|
|
993
1169
|
"__schema": "TypeRefSchema",
|
|
994
1170
|
"location": {
|
|
995
1171
|
"filePath": "index.ts",
|
|
996
|
-
"line":
|
|
1172
|
+
"line": 5,
|
|
997
1173
|
"character": 15
|
|
998
1174
|
},
|
|
999
1175
|
"name": "Command",
|
|
@@ -1004,7 +1180,7 @@
|
|
|
1004
1180
|
"__schema": "ExportSchema",
|
|
1005
1181
|
"location": {
|
|
1006
1182
|
"filePath": "index.ts",
|
|
1007
|
-
"line":
|
|
1183
|
+
"line": 5,
|
|
1008
1184
|
"character": 24
|
|
1009
1185
|
},
|
|
1010
1186
|
"name": "CLIArgs",
|
|
@@ -1012,7 +1188,7 @@
|
|
|
1012
1188
|
"__schema": "TypeRefSchema",
|
|
1013
1189
|
"location": {
|
|
1014
1190
|
"filePath": "index.ts",
|
|
1015
|
-
"line":
|
|
1191
|
+
"line": 5,
|
|
1016
1192
|
"character": 24
|
|
1017
1193
|
},
|
|
1018
1194
|
"name": "CLIArgs",
|
|
@@ -1023,7 +1199,7 @@
|
|
|
1023
1199
|
"__schema": "ExportSchema",
|
|
1024
1200
|
"location": {
|
|
1025
1201
|
"filePath": "index.ts",
|
|
1026
|
-
"line":
|
|
1202
|
+
"line": 5,
|
|
1027
1203
|
"character": 33
|
|
1028
1204
|
},
|
|
1029
1205
|
"name": "Flags",
|
|
@@ -1031,7 +1207,7 @@
|
|
|
1031
1207
|
"__schema": "TypeRefSchema",
|
|
1032
1208
|
"location": {
|
|
1033
1209
|
"filePath": "index.ts",
|
|
1034
|
-
"line":
|
|
1210
|
+
"line": 5,
|
|
1035
1211
|
"character": 33
|
|
1036
1212
|
},
|
|
1037
1213
|
"name": "Flags",
|
|
@@ -1042,7 +1218,7 @@
|
|
|
1042
1218
|
"__schema": "ExportSchema",
|
|
1043
1219
|
"location": {
|
|
1044
1220
|
"filePath": "index.ts",
|
|
1045
|
-
"line":
|
|
1221
|
+
"line": 5,
|
|
1046
1222
|
"character": 40
|
|
1047
1223
|
},
|
|
1048
1224
|
"name": "GenericObject",
|
|
@@ -1050,7 +1226,7 @@
|
|
|
1050
1226
|
"__schema": "TypeRefSchema",
|
|
1051
1227
|
"location": {
|
|
1052
1228
|
"filePath": "index.ts",
|
|
1053
|
-
"line":
|
|
1229
|
+
"line": 5,
|
|
1054
1230
|
"character": 40
|
|
1055
1231
|
},
|
|
1056
1232
|
"name": "GenericObject",
|
|
@@ -1062,7 +1238,7 @@
|
|
|
1062
1238
|
"location": {
|
|
1063
1239
|
"filePath": "index.ts",
|
|
1064
1240
|
"line": 5,
|
|
1065
|
-
"character":
|
|
1241
|
+
"character": 55
|
|
1066
1242
|
},
|
|
1067
1243
|
"name": "CommandOptions",
|
|
1068
1244
|
"exportNode": {
|
|
@@ -1070,10 +1246,10 @@
|
|
|
1070
1246
|
"location": {
|
|
1071
1247
|
"filePath": "index.ts",
|
|
1072
1248
|
"line": 5,
|
|
1073
|
-
"character":
|
|
1249
|
+
"character": 55
|
|
1074
1250
|
},
|
|
1075
1251
|
"name": "CommandOptions",
|
|
1076
|
-
"packageName": "@teambit/legacy/dist/cli/
|
|
1252
|
+
"packageName": "@teambit/legacy/dist/cli/command"
|
|
1077
1253
|
}
|
|
1078
1254
|
},
|
|
1079
1255
|
{
|
|
@@ -1179,7 +1355,7 @@
|
|
|
1179
1355
|
"_legacy": {
|
|
1180
1356
|
"scope": "teambit.harmony",
|
|
1181
1357
|
"name": "cli",
|
|
1182
|
-
"version": "0.0.
|
|
1358
|
+
"version": "0.0.900"
|
|
1183
1359
|
},
|
|
1184
1360
|
"_scope": "teambit.harmony"
|
|
1185
1361
|
}
|
|
@@ -1311,7 +1487,7 @@
|
|
|
1311
1487
|
"__schema": "TypeSchema",
|
|
1312
1488
|
"location": {
|
|
1313
1489
|
"filePath": "cli.main.runtime.ts",
|
|
1314
|
-
"line":
|
|
1490
|
+
"line": 18,
|
|
1315
1491
|
"character": 1
|
|
1316
1492
|
},
|
|
1317
1493
|
"signature": "type CommandList = Command[]",
|
|
@@ -1320,7 +1496,7 @@
|
|
|
1320
1496
|
"__schema": "TypeRefSchema",
|
|
1321
1497
|
"location": {
|
|
1322
1498
|
"filePath": "cli.main.runtime.ts",
|
|
1323
|
-
"line":
|
|
1499
|
+
"line": 18,
|
|
1324
1500
|
"character": 27
|
|
1325
1501
|
},
|
|
1326
1502
|
"name": "Array",
|
|
@@ -1329,7 +1505,7 @@
|
|
|
1329
1505
|
"__schema": "TypeRefSchema",
|
|
1330
1506
|
"location": {
|
|
1331
1507
|
"filePath": "cli.main.runtime.ts",
|
|
1332
|
-
"line":
|
|
1508
|
+
"line": 18,
|
|
1333
1509
|
"character": 33
|
|
1334
1510
|
},
|
|
1335
1511
|
"name": "Command",
|
|
@@ -1342,7 +1518,7 @@
|
|
|
1342
1518
|
"__schema": "TypeSchema",
|
|
1343
1519
|
"location": {
|
|
1344
1520
|
"filePath": "cli.main.runtime.ts",
|
|
1345
|
-
"line":
|
|
1521
|
+
"line": 19,
|
|
1346
1522
|
"character": 1
|
|
1347
1523
|
},
|
|
1348
1524
|
"signature": "type OnStart = (hasWorkspace: boolean, currentCommand: string, commandObject?: Command) => Promise<void>",
|
|
@@ -1351,7 +1527,7 @@
|
|
|
1351
1527
|
"__schema": "FunctionLikeSchema",
|
|
1352
1528
|
"location": {
|
|
1353
1529
|
"filePath": "cli.main.runtime.ts",
|
|
1354
|
-
"line":
|
|
1530
|
+
"line": 19,
|
|
1355
1531
|
"character": 23
|
|
1356
1532
|
},
|
|
1357
1533
|
"signature": "(hasWorkspace: boolean, currentCommand: string, commandObject?: \u001b[2m(package: @teambit/legacy/dist/cli/command)\u001b[22m Command): Promise<void>",
|
|
@@ -1361,7 +1537,7 @@
|
|
|
1361
1537
|
"__schema": "ParameterSchema",
|
|
1362
1538
|
"location": {
|
|
1363
1539
|
"filePath": "cli.main.runtime.ts",
|
|
1364
|
-
"line":
|
|
1540
|
+
"line": 19,
|
|
1365
1541
|
"character": 24
|
|
1366
1542
|
},
|
|
1367
1543
|
"name": "hasWorkspace",
|
|
@@ -1369,7 +1545,7 @@
|
|
|
1369
1545
|
"__schema": "KeywordTypeSchema",
|
|
1370
1546
|
"location": {
|
|
1371
1547
|
"filePath": "cli.main.runtime.ts",
|
|
1372
|
-
"line":
|
|
1548
|
+
"line": 19,
|
|
1373
1549
|
"character": 38
|
|
1374
1550
|
},
|
|
1375
1551
|
"name": "boolean"
|
|
@@ -1381,7 +1557,7 @@
|
|
|
1381
1557
|
"__schema": "ParameterSchema",
|
|
1382
1558
|
"location": {
|
|
1383
1559
|
"filePath": "cli.main.runtime.ts",
|
|
1384
|
-
"line":
|
|
1560
|
+
"line": 19,
|
|
1385
1561
|
"character": 47
|
|
1386
1562
|
},
|
|
1387
1563
|
"name": "currentCommand",
|
|
@@ -1389,7 +1565,7 @@
|
|
|
1389
1565
|
"__schema": "KeywordTypeSchema",
|
|
1390
1566
|
"location": {
|
|
1391
1567
|
"filePath": "cli.main.runtime.ts",
|
|
1392
|
-
"line":
|
|
1568
|
+
"line": 19,
|
|
1393
1569
|
"character": 63
|
|
1394
1570
|
},
|
|
1395
1571
|
"name": "string"
|
|
@@ -1401,7 +1577,7 @@
|
|
|
1401
1577
|
"__schema": "ParameterSchema",
|
|
1402
1578
|
"location": {
|
|
1403
1579
|
"filePath": "cli.main.runtime.ts",
|
|
1404
|
-
"line":
|
|
1580
|
+
"line": 19,
|
|
1405
1581
|
"character": 71
|
|
1406
1582
|
},
|
|
1407
1583
|
"name": "commandObject",
|
|
@@ -1409,7 +1585,7 @@
|
|
|
1409
1585
|
"__schema": "TypeRefSchema",
|
|
1410
1586
|
"location": {
|
|
1411
1587
|
"filePath": "cli.main.runtime.ts",
|
|
1412
|
-
"line":
|
|
1588
|
+
"line": 19,
|
|
1413
1589
|
"character": 87
|
|
1414
1590
|
},
|
|
1415
1591
|
"name": "Command",
|
|
@@ -1423,7 +1599,7 @@
|
|
|
1423
1599
|
"__schema": "TypeRefSchema",
|
|
1424
1600
|
"location": {
|
|
1425
1601
|
"filePath": "cli.main.runtime.ts",
|
|
1426
|
-
"line":
|
|
1602
|
+
"line": 19,
|
|
1427
1603
|
"character": 99
|
|
1428
1604
|
},
|
|
1429
1605
|
"name": "Promise",
|
|
@@ -1432,7 +1608,7 @@
|
|
|
1432
1608
|
"__schema": "KeywordTypeSchema",
|
|
1433
1609
|
"location": {
|
|
1434
1610
|
"filePath": "cli.main.runtime.ts",
|
|
1435
|
-
"line":
|
|
1611
|
+
"line": 19,
|
|
1436
1612
|
"character": 107
|
|
1437
1613
|
},
|
|
1438
1614
|
"name": "void"
|
|
@@ -1446,7 +1622,7 @@
|
|
|
1446
1622
|
"__schema": "TypeSchema",
|
|
1447
1623
|
"location": {
|
|
1448
1624
|
"filePath": "cli.main.runtime.ts",
|
|
1449
|
-
"line":
|
|
1625
|
+
"line": 20,
|
|
1450
1626
|
"character": 1
|
|
1451
1627
|
},
|
|
1452
1628
|
"signature": "type OnCommandStart = (commandName: string, args: CLIArgs, flags: Flags) => Promise<void>",
|
|
@@ -1455,7 +1631,7 @@
|
|
|
1455
1631
|
"__schema": "FunctionLikeSchema",
|
|
1456
1632
|
"location": {
|
|
1457
1633
|
"filePath": "cli.main.runtime.ts",
|
|
1458
|
-
"line":
|
|
1634
|
+
"line": 20,
|
|
1459
1635
|
"character": 30
|
|
1460
1636
|
},
|
|
1461
1637
|
"signature": "(commandName: string, args: \u001b[2m(package: @teambit/legacy/dist/cli/command)\u001b[22m CLIArgs, flags: \u001b[2m(package: @teambit/legacy/dist/cli/command)\u001b[22m Flags): Promise<void>",
|
|
@@ -1465,7 +1641,7 @@
|
|
|
1465
1641
|
"__schema": "ParameterSchema",
|
|
1466
1642
|
"location": {
|
|
1467
1643
|
"filePath": "cli.main.runtime.ts",
|
|
1468
|
-
"line":
|
|
1644
|
+
"line": 20,
|
|
1469
1645
|
"character": 31
|
|
1470
1646
|
},
|
|
1471
1647
|
"name": "commandName",
|
|
@@ -1473,7 +1649,7 @@
|
|
|
1473
1649
|
"__schema": "KeywordTypeSchema",
|
|
1474
1650
|
"location": {
|
|
1475
1651
|
"filePath": "cli.main.runtime.ts",
|
|
1476
|
-
"line":
|
|
1652
|
+
"line": 20,
|
|
1477
1653
|
"character": 44
|
|
1478
1654
|
},
|
|
1479
1655
|
"name": "string"
|
|
@@ -1485,7 +1661,7 @@
|
|
|
1485
1661
|
"__schema": "ParameterSchema",
|
|
1486
1662
|
"location": {
|
|
1487
1663
|
"filePath": "cli.main.runtime.ts",
|
|
1488
|
-
"line":
|
|
1664
|
+
"line": 20,
|
|
1489
1665
|
"character": 52
|
|
1490
1666
|
},
|
|
1491
1667
|
"name": "args",
|
|
@@ -1493,7 +1669,7 @@
|
|
|
1493
1669
|
"__schema": "TypeRefSchema",
|
|
1494
1670
|
"location": {
|
|
1495
1671
|
"filePath": "cli.main.runtime.ts",
|
|
1496
|
-
"line":
|
|
1672
|
+
"line": 20,
|
|
1497
1673
|
"character": 58
|
|
1498
1674
|
},
|
|
1499
1675
|
"name": "CLIArgs",
|
|
@@ -1506,7 +1682,7 @@
|
|
|
1506
1682
|
"__schema": "ParameterSchema",
|
|
1507
1683
|
"location": {
|
|
1508
1684
|
"filePath": "cli.main.runtime.ts",
|
|
1509
|
-
"line":
|
|
1685
|
+
"line": 20,
|
|
1510
1686
|
"character": 67
|
|
1511
1687
|
},
|
|
1512
1688
|
"name": "flags",
|
|
@@ -1514,7 +1690,7 @@
|
|
|
1514
1690
|
"__schema": "TypeRefSchema",
|
|
1515
1691
|
"location": {
|
|
1516
1692
|
"filePath": "cli.main.runtime.ts",
|
|
1517
|
-
"line":
|
|
1693
|
+
"line": 20,
|
|
1518
1694
|
"character": 74
|
|
1519
1695
|
},
|
|
1520
1696
|
"name": "Flags",
|
|
@@ -1528,7 +1704,7 @@
|
|
|
1528
1704
|
"__schema": "TypeRefSchema",
|
|
1529
1705
|
"location": {
|
|
1530
1706
|
"filePath": "cli.main.runtime.ts",
|
|
1531
|
-
"line":
|
|
1707
|
+
"line": 20,
|
|
1532
1708
|
"character": 84
|
|
1533
1709
|
},
|
|
1534
1710
|
"name": "Promise",
|
|
@@ -1537,7 +1713,7 @@
|
|
|
1537
1713
|
"__schema": "KeywordTypeSchema",
|
|
1538
1714
|
"location": {
|
|
1539
1715
|
"filePath": "cli.main.runtime.ts",
|
|
1540
|
-
"line":
|
|
1716
|
+
"line": 20,
|
|
1541
1717
|
"character": 92
|
|
1542
1718
|
},
|
|
1543
1719
|
"name": "void"
|
|
@@ -1551,7 +1727,7 @@
|
|
|
1551
1727
|
"__schema": "TypeSchema",
|
|
1552
1728
|
"location": {
|
|
1553
1729
|
"filePath": "cli.main.runtime.ts",
|
|
1554
|
-
"line":
|
|
1730
|
+
"line": 21,
|
|
1555
1731
|
"character": 1
|
|
1556
1732
|
},
|
|
1557
1733
|
"signature": "type OnBeforeExitFn = () => Promise<void>",
|
|
@@ -1560,7 +1736,7 @@
|
|
|
1560
1736
|
"__schema": "FunctionLikeSchema",
|
|
1561
1737
|
"location": {
|
|
1562
1738
|
"filePath": "cli.main.runtime.ts",
|
|
1563
|
-
"line":
|
|
1739
|
+
"line": 21,
|
|
1564
1740
|
"character": 30
|
|
1565
1741
|
},
|
|
1566
1742
|
"signature": "(): Promise<void>",
|
|
@@ -1570,7 +1746,7 @@
|
|
|
1570
1746
|
"__schema": "TypeRefSchema",
|
|
1571
1747
|
"location": {
|
|
1572
1748
|
"filePath": "cli.main.runtime.ts",
|
|
1573
|
-
"line":
|
|
1749
|
+
"line": 21,
|
|
1574
1750
|
"character": 36
|
|
1575
1751
|
},
|
|
1576
1752
|
"name": "Promise",
|
|
@@ -1579,7 +1755,7 @@
|
|
|
1579
1755
|
"__schema": "KeywordTypeSchema",
|
|
1580
1756
|
"location": {
|
|
1581
1757
|
"filePath": "cli.main.runtime.ts",
|
|
1582
|
-
"line":
|
|
1758
|
+
"line": 21,
|
|
1583
1759
|
"character": 44
|
|
1584
1760
|
},
|
|
1585
1761
|
"name": "void"
|
|
@@ -1593,7 +1769,7 @@
|
|
|
1593
1769
|
"__schema": "TypeSchema",
|
|
1594
1770
|
"location": {
|
|
1595
1771
|
"filePath": "cli.main.runtime.ts",
|
|
1596
|
-
"line":
|
|
1772
|
+
"line": 23,
|
|
1597
1773
|
"character": 1
|
|
1598
1774
|
},
|
|
1599
1775
|
"signature": "type OnStartSlot = SlotRegistry<OnStart>",
|
|
@@ -1602,7 +1778,7 @@
|
|
|
1602
1778
|
"__schema": "TypeRefSchema",
|
|
1603
1779
|
"location": {
|
|
1604
1780
|
"filePath": "cli.main.runtime.ts",
|
|
1605
|
-
"line":
|
|
1781
|
+
"line": 23,
|
|
1606
1782
|
"character": 27
|
|
1607
1783
|
},
|
|
1608
1784
|
"name": "SlotRegistry",
|
|
@@ -1616,7 +1792,7 @@
|
|
|
1616
1792
|
"__schema": "TypeRefSchema",
|
|
1617
1793
|
"location": {
|
|
1618
1794
|
"filePath": "cli.main.runtime.ts",
|
|
1619
|
-
"line":
|
|
1795
|
+
"line": 23,
|
|
1620
1796
|
"character": 40
|
|
1621
1797
|
},
|
|
1622
1798
|
"name": "OnStart",
|
|
@@ -1629,7 +1805,7 @@
|
|
|
1629
1805
|
"__schema": "TypeSchema",
|
|
1630
1806
|
"location": {
|
|
1631
1807
|
"filePath": "cli.main.runtime.ts",
|
|
1632
|
-
"line":
|
|
1808
|
+
"line": 24,
|
|
1633
1809
|
"character": 1
|
|
1634
1810
|
},
|
|
1635
1811
|
"signature": "type OnCommandStartSlot = SlotRegistry<OnCommandStart>",
|
|
@@ -1638,7 +1814,7 @@
|
|
|
1638
1814
|
"__schema": "TypeRefSchema",
|
|
1639
1815
|
"location": {
|
|
1640
1816
|
"filePath": "cli.main.runtime.ts",
|
|
1641
|
-
"line":
|
|
1817
|
+
"line": 24,
|
|
1642
1818
|
"character": 34
|
|
1643
1819
|
},
|
|
1644
1820
|
"name": "SlotRegistry",
|
|
@@ -1652,7 +1828,7 @@
|
|
|
1652
1828
|
"__schema": "TypeRefSchema",
|
|
1653
1829
|
"location": {
|
|
1654
1830
|
"filePath": "cli.main.runtime.ts",
|
|
1655
|
-
"line":
|
|
1831
|
+
"line": 24,
|
|
1656
1832
|
"character": 47
|
|
1657
1833
|
},
|
|
1658
1834
|
"name": "OnCommandStart",
|
|
@@ -1665,7 +1841,7 @@
|
|
|
1665
1841
|
"__schema": "TypeSchema",
|
|
1666
1842
|
"location": {
|
|
1667
1843
|
"filePath": "cli.main.runtime.ts",
|
|
1668
|
-
"line":
|
|
1844
|
+
"line": 25,
|
|
1669
1845
|
"character": 1
|
|
1670
1846
|
},
|
|
1671
1847
|
"signature": "type CommandsSlot = SlotRegistry<CommandList>",
|
|
@@ -1674,7 +1850,7 @@
|
|
|
1674
1850
|
"__schema": "TypeRefSchema",
|
|
1675
1851
|
"location": {
|
|
1676
1852
|
"filePath": "cli.main.runtime.ts",
|
|
1677
|
-
"line":
|
|
1853
|
+
"line": 25,
|
|
1678
1854
|
"character": 28
|
|
1679
1855
|
},
|
|
1680
1856
|
"name": "SlotRegistry",
|
|
@@ -1688,7 +1864,7 @@
|
|
|
1688
1864
|
"__schema": "TypeRefSchema",
|
|
1689
1865
|
"location": {
|
|
1690
1866
|
"filePath": "cli.main.runtime.ts",
|
|
1691
|
-
"line":
|
|
1867
|
+
"line": 25,
|
|
1692
1868
|
"character": 41
|
|
1693
1869
|
},
|
|
1694
1870
|
"name": "CommandList"
|
|
@@ -1700,7 +1876,7 @@
|
|
|
1700
1876
|
"__schema": "TypeSchema",
|
|
1701
1877
|
"location": {
|
|
1702
1878
|
"filePath": "cli.main.runtime.ts",
|
|
1703
|
-
"line":
|
|
1879
|
+
"line": 26,
|
|
1704
1880
|
"character": 1
|
|
1705
1881
|
},
|
|
1706
1882
|
"signature": "type OnBeforeExitSlot = SlotRegistry<OnBeforeExitFn>",
|
|
@@ -1709,7 +1885,7 @@
|
|
|
1709
1885
|
"__schema": "TypeRefSchema",
|
|
1710
1886
|
"location": {
|
|
1711
1887
|
"filePath": "cli.main.runtime.ts",
|
|
1712
|
-
"line":
|
|
1888
|
+
"line": 26,
|
|
1713
1889
|
"character": 32
|
|
1714
1890
|
},
|
|
1715
1891
|
"name": "SlotRegistry",
|
|
@@ -1723,7 +1899,7 @@
|
|
|
1723
1899
|
"__schema": "TypeRefSchema",
|
|
1724
1900
|
"location": {
|
|
1725
1901
|
"filePath": "cli.main.runtime.ts",
|
|
1726
|
-
"line":
|
|
1902
|
+
"line": 26,
|
|
1727
1903
|
"character": 45
|
|
1728
1904
|
},
|
|
1729
1905
|
"name": "OnBeforeExitFn",
|
|
@@ -1736,7 +1912,7 @@
|
|
|
1736
1912
|
"__schema": "ClassSchema",
|
|
1737
1913
|
"location": {
|
|
1738
1914
|
"filePath": "cli.main.runtime.ts",
|
|
1739
|
-
"line":
|
|
1915
|
+
"line": 28,
|
|
1740
1916
|
"character": 1
|
|
1741
1917
|
},
|
|
1742
1918
|
"signature": "class CLIMain",
|
|
@@ -1746,7 +1922,7 @@
|
|
|
1746
1922
|
"__schema": "VariableLikeSchema",
|
|
1747
1923
|
"location": {
|
|
1748
1924
|
"filePath": "cli.main.runtime.ts",
|
|
1749
|
-
"line":
|
|
1925
|
+
"line": 29,
|
|
1750
1926
|
"character": 3
|
|
1751
1927
|
},
|
|
1752
1928
|
"signature": "(property) CLIMain.groups: GroupsType",
|
|
@@ -1755,7 +1931,7 @@
|
|
|
1755
1931
|
"__schema": "TypeRefSchema",
|
|
1756
1932
|
"location": {
|
|
1757
1933
|
"filePath": "cli.main.runtime.ts",
|
|
1758
|
-
"line":
|
|
1934
|
+
"line": 29,
|
|
1759
1935
|
"character": 3
|
|
1760
1936
|
},
|
|
1761
1937
|
"name": "GroupsType",
|
|
@@ -1768,7 +1944,7 @@
|
|
|
1768
1944
|
"__schema": "ConstructorSchema",
|
|
1769
1945
|
"location": {
|
|
1770
1946
|
"filePath": "cli.main.runtime.ts",
|
|
1771
|
-
"line":
|
|
1947
|
+
"line": 30,
|
|
1772
1948
|
"character": 3
|
|
1773
1949
|
},
|
|
1774
1950
|
"signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onCommandStartSlot: OnCommandStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
|
|
@@ -1778,7 +1954,7 @@
|
|
|
1778
1954
|
"__schema": "ParameterSchema",
|
|
1779
1955
|
"location": {
|
|
1780
1956
|
"filePath": "cli.main.runtime.ts",
|
|
1781
|
-
"line":
|
|
1957
|
+
"line": 31,
|
|
1782
1958
|
"character": 5
|
|
1783
1959
|
},
|
|
1784
1960
|
"name": "commandsSlot",
|
|
@@ -1786,7 +1962,7 @@
|
|
|
1786
1962
|
"__schema": "TypeRefSchema",
|
|
1787
1963
|
"location": {
|
|
1788
1964
|
"filePath": "cli.main.runtime.ts",
|
|
1789
|
-
"line":
|
|
1965
|
+
"line": 31,
|
|
1790
1966
|
"character": 27
|
|
1791
1967
|
},
|
|
1792
1968
|
"name": "CommandsSlot"
|
|
@@ -1798,7 +1974,7 @@
|
|
|
1798
1974
|
"__schema": "ParameterSchema",
|
|
1799
1975
|
"location": {
|
|
1800
1976
|
"filePath": "cli.main.runtime.ts",
|
|
1801
|
-
"line":
|
|
1977
|
+
"line": 32,
|
|
1802
1978
|
"character": 5
|
|
1803
1979
|
},
|
|
1804
1980
|
"name": "onStartSlot",
|
|
@@ -1806,7 +1982,7 @@
|
|
|
1806
1982
|
"__schema": "TypeRefSchema",
|
|
1807
1983
|
"location": {
|
|
1808
1984
|
"filePath": "cli.main.runtime.ts",
|
|
1809
|
-
"line":
|
|
1985
|
+
"line": 32,
|
|
1810
1986
|
"character": 26
|
|
1811
1987
|
},
|
|
1812
1988
|
"name": "OnStartSlot",
|
|
@@ -1819,7 +1995,7 @@
|
|
|
1819
1995
|
"__schema": "ParameterSchema",
|
|
1820
1996
|
"location": {
|
|
1821
1997
|
"filePath": "cli.main.runtime.ts",
|
|
1822
|
-
"line":
|
|
1998
|
+
"line": 33,
|
|
1823
1999
|
"character": 5
|
|
1824
2000
|
},
|
|
1825
2001
|
"name": "onCommandStartSlot",
|
|
@@ -1827,7 +2003,7 @@
|
|
|
1827
2003
|
"__schema": "TypeRefSchema",
|
|
1828
2004
|
"location": {
|
|
1829
2005
|
"filePath": "cli.main.runtime.ts",
|
|
1830
|
-
"line":
|
|
2006
|
+
"line": 33,
|
|
1831
2007
|
"character": 34
|
|
1832
2008
|
},
|
|
1833
2009
|
"name": "OnCommandStartSlot",
|
|
@@ -1840,7 +2016,7 @@
|
|
|
1840
2016
|
"__schema": "ParameterSchema",
|
|
1841
2017
|
"location": {
|
|
1842
2018
|
"filePath": "cli.main.runtime.ts",
|
|
1843
|
-
"line":
|
|
2019
|
+
"line": 34,
|
|
1844
2020
|
"character": 5
|
|
1845
2021
|
},
|
|
1846
2022
|
"name": "onBeforeExitSlot",
|
|
@@ -1848,7 +2024,7 @@
|
|
|
1848
2024
|
"__schema": "TypeRefSchema",
|
|
1849
2025
|
"location": {
|
|
1850
2026
|
"filePath": "cli.main.runtime.ts",
|
|
1851
|
-
"line":
|
|
2027
|
+
"line": 34,
|
|
1852
2028
|
"character": 31
|
|
1853
2029
|
},
|
|
1854
2030
|
"name": "OnBeforeExitSlot",
|
|
@@ -1861,7 +2037,7 @@
|
|
|
1861
2037
|
"__schema": "ParameterSchema",
|
|
1862
2038
|
"location": {
|
|
1863
2039
|
"filePath": "cli.main.runtime.ts",
|
|
1864
|
-
"line":
|
|
2040
|
+
"line": 35,
|
|
1865
2041
|
"character": 5
|
|
1866
2042
|
},
|
|
1867
2043
|
"name": "logger",
|
|
@@ -1869,7 +2045,7 @@
|
|
|
1869
2045
|
"__schema": "TypeRefSchema",
|
|
1870
2046
|
"location": {
|
|
1871
2047
|
"filePath": "cli.main.runtime.ts",
|
|
1872
|
-
"line":
|
|
2048
|
+
"line": 35,
|
|
1873
2049
|
"character": 21
|
|
1874
2050
|
},
|
|
1875
2051
|
"name": "Logger",
|
|
@@ -1886,7 +2062,7 @@
|
|
|
1886
2062
|
"__schema": "ThisTypeSchema",
|
|
1887
2063
|
"location": {
|
|
1888
2064
|
"filePath": "cli.main.runtime.ts",
|
|
1889
|
-
"line":
|
|
2065
|
+
"line": 28,
|
|
1890
2066
|
"character": 1
|
|
1891
2067
|
},
|
|
1892
2068
|
"name": "CLIMain"
|
|
@@ -1897,14 +2073,14 @@
|
|
|
1897
2073
|
"__schema": "FunctionLikeSchema",
|
|
1898
2074
|
"location": {
|
|
1899
2075
|
"filePath": "cli.main.runtime.ts",
|
|
1900
|
-
"line":
|
|
2076
|
+
"line": 41,
|
|
1901
2077
|
"character": 3
|
|
1902
2078
|
},
|
|
1903
2079
|
"doc": {
|
|
1904
2080
|
"__schema": "DocSchema",
|
|
1905
2081
|
"location": {
|
|
1906
2082
|
"filePath": "cli.main.runtime.ts",
|
|
1907
|
-
"line":
|
|
2083
|
+
"line": 38,
|
|
1908
2084
|
"character": 3
|
|
1909
2085
|
},
|
|
1910
2086
|
"raw": "/**\n * registers a new command in to the CLI.\n */",
|
|
@@ -1918,7 +2094,7 @@
|
|
|
1918
2094
|
"__schema": "ParameterSchema",
|
|
1919
2095
|
"location": {
|
|
1920
2096
|
"filePath": "cli.main.runtime.ts",
|
|
1921
|
-
"line":
|
|
2097
|
+
"line": 41,
|
|
1922
2098
|
"character": 12
|
|
1923
2099
|
},
|
|
1924
2100
|
"name": "commands",
|
|
@@ -1926,7 +2102,7 @@
|
|
|
1926
2102
|
"__schema": "TypeRefSchema",
|
|
1927
2103
|
"location": {
|
|
1928
2104
|
"filePath": "cli.main.runtime.ts",
|
|
1929
|
-
"line":
|
|
2105
|
+
"line": 41,
|
|
1930
2106
|
"character": 25
|
|
1931
2107
|
},
|
|
1932
2108
|
"name": "CommandList"
|
|
@@ -1939,7 +2115,7 @@
|
|
|
1939
2115
|
"__schema": "InferenceTypeSchema",
|
|
1940
2116
|
"location": {
|
|
1941
2117
|
"filePath": "cli.main.runtime.ts",
|
|
1942
|
-
"line":
|
|
2118
|
+
"line": 41,
|
|
1943
2119
|
"character": 3
|
|
1944
2120
|
},
|
|
1945
2121
|
"type": "void"
|
|
@@ -1950,14 +2126,14 @@
|
|
|
1950
2126
|
"__schema": "FunctionLikeSchema",
|
|
1951
2127
|
"location": {
|
|
1952
2128
|
"filePath": "cli.main.runtime.ts",
|
|
1953
|
-
"line":
|
|
2129
|
+
"line": 54,
|
|
1954
2130
|
"character": 3
|
|
1955
2131
|
},
|
|
1956
2132
|
"doc": {
|
|
1957
2133
|
"__schema": "DocSchema",
|
|
1958
2134
|
"location": {
|
|
1959
2135
|
"filePath": "cli.main.runtime.ts",
|
|
1960
|
-
"line":
|
|
2136
|
+
"line": 50,
|
|
1961
2137
|
"character": 3
|
|
1962
2138
|
},
|
|
1963
2139
|
"raw": "/**\n * helpful for having the same command name in different environments (e.g. legacy and non-legacy).\n * for example `cli.unregister('tag');` removes the \"bit tag\" command.\n */",
|
|
@@ -1971,7 +2147,7 @@
|
|
|
1971
2147
|
"__schema": "ParameterSchema",
|
|
1972
2148
|
"location": {
|
|
1973
2149
|
"filePath": "cli.main.runtime.ts",
|
|
1974
|
-
"line":
|
|
2150
|
+
"line": 54,
|
|
1975
2151
|
"character": 14
|
|
1976
2152
|
},
|
|
1977
2153
|
"name": "commandName",
|
|
@@ -1979,7 +2155,7 @@
|
|
|
1979
2155
|
"__schema": "KeywordTypeSchema",
|
|
1980
2156
|
"location": {
|
|
1981
2157
|
"filePath": "cli.main.runtime.ts",
|
|
1982
|
-
"line":
|
|
2158
|
+
"line": 54,
|
|
1983
2159
|
"character": 27
|
|
1984
2160
|
},
|
|
1985
2161
|
"name": "string"
|
|
@@ -1992,7 +2168,7 @@
|
|
|
1992
2168
|
"__schema": "InferenceTypeSchema",
|
|
1993
2169
|
"location": {
|
|
1994
2170
|
"filePath": "cli.main.runtime.ts",
|
|
1995
|
-
"line":
|
|
2171
|
+
"line": 54,
|
|
1996
2172
|
"character": 3
|
|
1997
2173
|
},
|
|
1998
2174
|
"type": "void"
|
|
@@ -2003,7 +2179,7 @@
|
|
|
2003
2179
|
"__schema": "GetAccessorSchema",
|
|
2004
2180
|
"location": {
|
|
2005
2181
|
"filePath": "cli.main.runtime.ts",
|
|
2006
|
-
"line":
|
|
2182
|
+
"line": 66,
|
|
2007
2183
|
"character": 3
|
|
2008
2184
|
},
|
|
2009
2185
|
"signature": "(getter) CLIMain.commands: CommandList",
|
|
@@ -2012,7 +2188,7 @@
|
|
|
2012
2188
|
"__schema": "TypeRefSchema",
|
|
2013
2189
|
"location": {
|
|
2014
2190
|
"filePath": "cli.main.runtime.ts",
|
|
2015
|
-
"line":
|
|
2191
|
+
"line": 66,
|
|
2016
2192
|
"character": 3
|
|
2017
2193
|
},
|
|
2018
2194
|
"name": "CommandList"
|
|
@@ -2022,14 +2198,14 @@
|
|
|
2022
2198
|
"__schema": "FunctionLikeSchema",
|
|
2023
2199
|
"location": {
|
|
2024
2200
|
"filePath": "cli.main.runtime.ts",
|
|
2025
|
-
"line":
|
|
2201
|
+
"line": 73,
|
|
2026
2202
|
"character": 3
|
|
2027
2203
|
},
|
|
2028
2204
|
"doc": {
|
|
2029
2205
|
"__schema": "DocSchema",
|
|
2030
2206
|
"location": {
|
|
2031
2207
|
"filePath": "cli.main.runtime.ts",
|
|
2032
|
-
"line":
|
|
2208
|
+
"line": 70,
|
|
2033
2209
|
"character": 3
|
|
2034
2210
|
},
|
|
2035
2211
|
"raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
|
|
@@ -2043,7 +2219,7 @@
|
|
|
2043
2219
|
"__schema": "ParameterSchema",
|
|
2044
2220
|
"location": {
|
|
2045
2221
|
"filePath": "cli.main.runtime.ts",
|
|
2046
|
-
"line":
|
|
2222
|
+
"line": 73,
|
|
2047
2223
|
"character": 14
|
|
2048
2224
|
},
|
|
2049
2225
|
"name": "name",
|
|
@@ -2051,7 +2227,7 @@
|
|
|
2051
2227
|
"__schema": "KeywordTypeSchema",
|
|
2052
2228
|
"location": {
|
|
2053
2229
|
"filePath": "cli.main.runtime.ts",
|
|
2054
|
-
"line":
|
|
2230
|
+
"line": 73,
|
|
2055
2231
|
"character": 20
|
|
2056
2232
|
},
|
|
2057
2233
|
"name": "string"
|
|
@@ -2064,7 +2240,7 @@
|
|
|
2064
2240
|
"__schema": "TypeUnionSchema",
|
|
2065
2241
|
"location": {
|
|
2066
2242
|
"filePath": "cli.main.runtime.ts",
|
|
2067
|
-
"line":
|
|
2243
|
+
"line": 73,
|
|
2068
2244
|
"character": 29
|
|
2069
2245
|
},
|
|
2070
2246
|
"types": [
|
|
@@ -2072,7 +2248,7 @@
|
|
|
2072
2248
|
"__schema": "TypeRefSchema",
|
|
2073
2249
|
"location": {
|
|
2074
2250
|
"filePath": "cli.main.runtime.ts",
|
|
2075
|
-
"line":
|
|
2251
|
+
"line": 73,
|
|
2076
2252
|
"character": 29
|
|
2077
2253
|
},
|
|
2078
2254
|
"name": "Command",
|
|
@@ -2082,7 +2258,7 @@
|
|
|
2082
2258
|
"__schema": "KeywordTypeSchema",
|
|
2083
2259
|
"location": {
|
|
2084
2260
|
"filePath": "cli.main.runtime.ts",
|
|
2085
|
-
"line":
|
|
2261
|
+
"line": 73,
|
|
2086
2262
|
"character": 39
|
|
2087
2263
|
},
|
|
2088
2264
|
"name": "undefined"
|
|
@@ -2095,14 +2271,14 @@
|
|
|
2095
2271
|
"__schema": "FunctionLikeSchema",
|
|
2096
2272
|
"location": {
|
|
2097
2273
|
"filePath": "cli.main.runtime.ts",
|
|
2098
|
-
"line":
|
|
2274
|
+
"line": 83,
|
|
2099
2275
|
"character": 3
|
|
2100
2276
|
},
|
|
2101
2277
|
"doc": {
|
|
2102
2278
|
"__schema": "DocSchema",
|
|
2103
2279
|
"location": {
|
|
2104
2280
|
"filePath": "cli.main.runtime.ts",
|
|
2105
|
-
"line":
|
|
2281
|
+
"line": 77,
|
|
2106
2282
|
"character": 3
|
|
2107
2283
|
},
|
|
2108
2284
|
"raw": "/**\n * when running `bit help`, commands are grouped by categories.\n * this method helps registering a new group by providing its name and a description.\n * the name is what needs to be assigned to the `group` property of the Command interface.\n * the description is what shown in the `bit help` output.\n */",
|
|
@@ -2116,7 +2292,7 @@
|
|
|
2116
2292
|
"__schema": "ParameterSchema",
|
|
2117
2293
|
"location": {
|
|
2118
2294
|
"filePath": "cli.main.runtime.ts",
|
|
2119
|
-
"line":
|
|
2295
|
+
"line": 83,
|
|
2120
2296
|
"character": 17
|
|
2121
2297
|
},
|
|
2122
2298
|
"name": "name",
|
|
@@ -2124,7 +2300,7 @@
|
|
|
2124
2300
|
"__schema": "KeywordTypeSchema",
|
|
2125
2301
|
"location": {
|
|
2126
2302
|
"filePath": "cli.main.runtime.ts",
|
|
2127
|
-
"line":
|
|
2303
|
+
"line": 83,
|
|
2128
2304
|
"character": 23
|
|
2129
2305
|
},
|
|
2130
2306
|
"name": "string"
|
|
@@ -2136,7 +2312,7 @@
|
|
|
2136
2312
|
"__schema": "ParameterSchema",
|
|
2137
2313
|
"location": {
|
|
2138
2314
|
"filePath": "cli.main.runtime.ts",
|
|
2139
|
-
"line":
|
|
2315
|
+
"line": 83,
|
|
2140
2316
|
"character": 31
|
|
2141
2317
|
},
|
|
2142
2318
|
"name": "description",
|
|
@@ -2144,7 +2320,7 @@
|
|
|
2144
2320
|
"__schema": "KeywordTypeSchema",
|
|
2145
2321
|
"location": {
|
|
2146
2322
|
"filePath": "cli.main.runtime.ts",
|
|
2147
|
-
"line":
|
|
2323
|
+
"line": 83,
|
|
2148
2324
|
"character": 44
|
|
2149
2325
|
},
|
|
2150
2326
|
"name": "string"
|
|
@@ -2157,7 +2333,7 @@
|
|
|
2157
2333
|
"__schema": "InferenceTypeSchema",
|
|
2158
2334
|
"location": {
|
|
2159
2335
|
"filePath": "cli.main.runtime.ts",
|
|
2160
|
-
"line":
|
|
2336
|
+
"line": 83,
|
|
2161
2337
|
"character": 3
|
|
2162
2338
|
},
|
|
2163
2339
|
"type": "void"
|
|
@@ -2168,14 +2344,14 @@
|
|
|
2168
2344
|
"__schema": "FunctionLikeSchema",
|
|
2169
2345
|
"location": {
|
|
2170
2346
|
"filePath": "cli.main.runtime.ts",
|
|
2171
|
-
"line":
|
|
2347
|
+
"line": 94,
|
|
2172
2348
|
"character": 3
|
|
2173
2349
|
},
|
|
2174
2350
|
"doc": {
|
|
2175
2351
|
"__schema": "DocSchema",
|
|
2176
2352
|
"location": {
|
|
2177
2353
|
"filePath": "cli.main.runtime.ts",
|
|
2178
|
-
"line":
|
|
2354
|
+
"line": 91,
|
|
2179
2355
|
"character": 3
|
|
2180
2356
|
},
|
|
2181
2357
|
"raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
|
|
@@ -2189,7 +2365,7 @@
|
|
|
2189
2365
|
"__schema": "ParameterSchema",
|
|
2190
2366
|
"location": {
|
|
2191
2367
|
"filePath": "cli.main.runtime.ts",
|
|
2192
|
-
"line":
|
|
2368
|
+
"line": 94,
|
|
2193
2369
|
"character": 19
|
|
2194
2370
|
},
|
|
2195
2371
|
"name": "onStartFn",
|
|
@@ -2197,7 +2373,7 @@
|
|
|
2197
2373
|
"__schema": "TypeRefSchema",
|
|
2198
2374
|
"location": {
|
|
2199
2375
|
"filePath": "cli.main.runtime.ts",
|
|
2200
|
-
"line":
|
|
2376
|
+
"line": 94,
|
|
2201
2377
|
"character": 30
|
|
2202
2378
|
},
|
|
2203
2379
|
"name": "OnStart",
|
|
@@ -2211,7 +2387,7 @@
|
|
|
2211
2387
|
"__schema": "TypeRefSchema",
|
|
2212
2388
|
"location": {
|
|
2213
2389
|
"filePath": "cli.main.runtime.ts",
|
|
2214
|
-
"line":
|
|
2390
|
+
"line": 94,
|
|
2215
2391
|
"character": 3
|
|
2216
2392
|
},
|
|
2217
2393
|
"name": "CLIMain"
|
|
@@ -2222,14 +2398,14 @@
|
|
|
2222
2398
|
"__schema": "FunctionLikeSchema",
|
|
2223
2399
|
"location": {
|
|
2224
2400
|
"filePath": "cli.main.runtime.ts",
|
|
2225
|
-
"line":
|
|
2401
|
+
"line": 103,
|
|
2226
2402
|
"character": 3
|
|
2227
2403
|
},
|
|
2228
2404
|
"doc": {
|
|
2229
2405
|
"__schema": "DocSchema",
|
|
2230
2406
|
"location": {
|
|
2231
2407
|
"filePath": "cli.main.runtime.ts",
|
|
2232
|
-
"line":
|
|
2408
|
+
"line": 99,
|
|
2233
2409
|
"character": 3
|
|
2234
2410
|
},
|
|
2235
2411
|
"raw": "/**\n * onCommandStart is when a command is about to start and we have the command object and the parsed args and flags\n * already. (it happens after onStart)\n */",
|
|
@@ -2243,7 +2419,7 @@
|
|
|
2243
2419
|
"__schema": "ParameterSchema",
|
|
2244
2420
|
"location": {
|
|
2245
2421
|
"filePath": "cli.main.runtime.ts",
|
|
2246
|
-
"line":
|
|
2422
|
+
"line": 103,
|
|
2247
2423
|
"character": 26
|
|
2248
2424
|
},
|
|
2249
2425
|
"name": "onCommandStartFn",
|
|
@@ -2251,7 +2427,7 @@
|
|
|
2251
2427
|
"__schema": "TypeRefSchema",
|
|
2252
2428
|
"location": {
|
|
2253
2429
|
"filePath": "cli.main.runtime.ts",
|
|
2254
|
-
"line":
|
|
2430
|
+
"line": 103,
|
|
2255
2431
|
"character": 44
|
|
2256
2432
|
},
|
|
2257
2433
|
"name": "OnCommandStart",
|
|
@@ -2265,7 +2441,7 @@
|
|
|
2265
2441
|
"__schema": "TypeRefSchema",
|
|
2266
2442
|
"location": {
|
|
2267
2443
|
"filePath": "cli.main.runtime.ts",
|
|
2268
|
-
"line":
|
|
2444
|
+
"line": 103,
|
|
2269
2445
|
"character": 3
|
|
2270
2446
|
},
|
|
2271
2447
|
"name": "CLIMain"
|
|
@@ -2276,14 +2452,14 @@
|
|
|
2276
2452
|
"__schema": "FunctionLikeSchema",
|
|
2277
2453
|
"location": {
|
|
2278
2454
|
"filePath": "cli.main.runtime.ts",
|
|
2279
|
-
"line":
|
|
2455
|
+
"line": 123,
|
|
2280
2456
|
"character": 3
|
|
2281
2457
|
},
|
|
2282
2458
|
"doc": {
|
|
2283
2459
|
"__schema": "DocSchema",
|
|
2284
2460
|
"location": {
|
|
2285
2461
|
"filePath": "cli.main.runtime.ts",
|
|
2286
|
-
"line":
|
|
2462
|
+
"line": 108,
|
|
2287
2463
|
"character": 3
|
|
2288
2464
|
},
|
|
2289
2465
|
"raw": "/**\n * This will register a function to be called before the process exits.\n * This will run only for \"regular\" exits\n * e.g.\n * yes - command run and finished successfully\n * yes - command run and failed gracefully (code 1)\n * not SIGKILL (kill -9)\n * not SIGINT (Ctrl+C)\n * not SIGTERM (kill)\n * not uncaughtException\n * not unhandledRejection\n *\n * @param onBeforeExitFn\n * @returns\n */",
|
|
@@ -2293,7 +2469,7 @@
|
|
|
2293
2469
|
"__schema": "PropertyLikeTagSchema",
|
|
2294
2470
|
"location": {
|
|
2295
2471
|
"filePath": "cli.main.runtime.ts",
|
|
2296
|
-
"line":
|
|
2472
|
+
"line": 120,
|
|
2297
2473
|
"character": 6
|
|
2298
2474
|
},
|
|
2299
2475
|
"name": "onBeforeExitFn",
|
|
@@ -2303,7 +2479,7 @@
|
|
|
2303
2479
|
"__schema": "ReturnTagSchema",
|
|
2304
2480
|
"location": {
|
|
2305
2481
|
"filePath": "cli.main.runtime.ts",
|
|
2306
|
-
"line":
|
|
2482
|
+
"line": 121,
|
|
2307
2483
|
"character": 6
|
|
2308
2484
|
},
|
|
2309
2485
|
"tagName": "return"
|
|
@@ -2317,7 +2493,7 @@
|
|
|
2317
2493
|
"__schema": "ParameterSchema",
|
|
2318
2494
|
"location": {
|
|
2319
2495
|
"filePath": "cli.main.runtime.ts",
|
|
2320
|
-
"line":
|
|
2496
|
+
"line": 123,
|
|
2321
2497
|
"character": 24
|
|
2322
2498
|
},
|
|
2323
2499
|
"name": "onBeforeExitFn",
|
|
@@ -2325,7 +2501,7 @@
|
|
|
2325
2501
|
"__schema": "TypeRefSchema",
|
|
2326
2502
|
"location": {
|
|
2327
2503
|
"filePath": "cli.main.runtime.ts",
|
|
2328
|
-
"line":
|
|
2504
|
+
"line": 123,
|
|
2329
2505
|
"character": 40
|
|
2330
2506
|
},
|
|
2331
2507
|
"name": "OnBeforeExitFn",
|
|
@@ -2339,7 +2515,7 @@
|
|
|
2339
2515
|
"__schema": "TypeRefSchema",
|
|
2340
2516
|
"location": {
|
|
2341
2517
|
"filePath": "cli.main.runtime.ts",
|
|
2342
|
-
"line":
|
|
2518
|
+
"line": 123,
|
|
2343
2519
|
"character": 3
|
|
2344
2520
|
},
|
|
2345
2521
|
"name": "CLIMain"
|
|
@@ -2350,14 +2526,14 @@
|
|
|
2350
2526
|
"__schema": "FunctionLikeSchema",
|
|
2351
2527
|
"location": {
|
|
2352
2528
|
"filePath": "cli.main.runtime.ts",
|
|
2353
|
-
"line":
|
|
2529
|
+
"line": 132,
|
|
2354
2530
|
"character": 3
|
|
2355
2531
|
},
|
|
2356
2532
|
"doc": {
|
|
2357
2533
|
"__schema": "DocSchema",
|
|
2358
2534
|
"location": {
|
|
2359
2535
|
"filePath": "cli.main.runtime.ts",
|
|
2360
|
-
"line":
|
|
2536
|
+
"line": 129,
|
|
2361
2537
|
"character": 3
|
|
2362
2538
|
},
|
|
2363
2539
|
"raw": "/**\n * execute commands registered to this aspect.\n */",
|
|
@@ -2371,7 +2547,7 @@
|
|
|
2371
2547
|
"__schema": "ParameterSchema",
|
|
2372
2548
|
"location": {
|
|
2373
2549
|
"filePath": "cli.main.runtime.ts",
|
|
2374
|
-
"line":
|
|
2550
|
+
"line": 132,
|
|
2375
2551
|
"character": 13
|
|
2376
2552
|
},
|
|
2377
2553
|
"name": "hasWorkspace",
|
|
@@ -2379,7 +2555,7 @@
|
|
|
2379
2555
|
"__schema": "KeywordTypeSchema",
|
|
2380
2556
|
"location": {
|
|
2381
2557
|
"filePath": "cli.main.runtime.ts",
|
|
2382
|
-
"line":
|
|
2558
|
+
"line": 132,
|
|
2383
2559
|
"character": 27
|
|
2384
2560
|
},
|
|
2385
2561
|
"name": "boolean"
|
|
@@ -2392,7 +2568,7 @@
|
|
|
2392
2568
|
"__schema": "InferenceTypeSchema",
|
|
2393
2569
|
"location": {
|
|
2394
2570
|
"filePath": "cli.main.runtime.ts",
|
|
2395
|
-
"line":
|
|
2571
|
+
"line": 132,
|
|
2396
2572
|
"character": 3
|
|
2397
2573
|
},
|
|
2398
2574
|
"type": "Promise<void>"
|
|
@@ -2405,7 +2581,7 @@
|
|
|
2405
2581
|
"__schema": "VariableLikeSchema",
|
|
2406
2582
|
"location": {
|
|
2407
2583
|
"filePath": "cli.main.runtime.ts",
|
|
2408
|
-
"line":
|
|
2584
|
+
"line": 165,
|
|
2409
2585
|
"character": 3
|
|
2410
2586
|
},
|
|
2411
2587
|
"signature": "(property) CLIMain.dependencies: Aspect[]",
|
|
@@ -2414,7 +2590,7 @@
|
|
|
2414
2590
|
"__schema": "InferenceTypeSchema",
|
|
2415
2591
|
"location": {
|
|
2416
2592
|
"filePath": "cli.main.runtime.ts",
|
|
2417
|
-
"line":
|
|
2593
|
+
"line": 165,
|
|
2418
2594
|
"character": 3
|
|
2419
2595
|
},
|
|
2420
2596
|
"type": "Aspect[]"
|
|
@@ -2426,7 +2602,7 @@
|
|
|
2426
2602
|
"__schema": "VariableLikeSchema",
|
|
2427
2603
|
"location": {
|
|
2428
2604
|
"filePath": "cli.main.runtime.ts",
|
|
2429
|
-
"line":
|
|
2605
|
+
"line": 166,
|
|
2430
2606
|
"character": 3
|
|
2431
2607
|
},
|
|
2432
2608
|
"signature": "(property) CLIMain.runtime: RuntimeDefinition",
|
|
@@ -2435,7 +2611,7 @@
|
|
|
2435
2611
|
"__schema": "InferenceTypeSchema",
|
|
2436
2612
|
"location": {
|
|
2437
2613
|
"filePath": "cli.main.runtime.ts",
|
|
2438
|
-
"line":
|
|
2614
|
+
"line": 166,
|
|
2439
2615
|
"character": 3
|
|
2440
2616
|
},
|
|
2441
2617
|
"type": "RuntimeDefinition"
|
|
@@ -2447,7 +2623,7 @@
|
|
|
2447
2623
|
"__schema": "VariableLikeSchema",
|
|
2448
2624
|
"location": {
|
|
2449
2625
|
"filePath": "cli.main.runtime.ts",
|
|
2450
|
-
"line":
|
|
2626
|
+
"line": 167,
|
|
2451
2627
|
"character": 3
|
|
2452
2628
|
},
|
|
2453
2629
|
"signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
|
|
@@ -2456,7 +2632,7 @@
|
|
|
2456
2632
|
"__schema": "InferenceTypeSchema",
|
|
2457
2633
|
"location": {
|
|
2458
2634
|
"filePath": "cli.main.runtime.ts",
|
|
2459
|
-
"line":
|
|
2635
|
+
"line": 167,
|
|
2460
2636
|
"character": 3
|
|
2461
2637
|
},
|
|
2462
2638
|
"type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
|
|
@@ -2468,7 +2644,7 @@
|
|
|
2468
2644
|
"__schema": "FunctionLikeSchema",
|
|
2469
2645
|
"location": {
|
|
2470
2646
|
"filePath": "cli.main.runtime.ts",
|
|
2471
|
-
"line":
|
|
2647
|
+
"line": 174,
|
|
2472
2648
|
"character": 3
|
|
2473
2649
|
},
|
|
2474
2650
|
"signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
|
|
@@ -2478,7 +2654,7 @@
|
|
|
2478
2654
|
"__schema": "ParameterSchema",
|
|
2479
2655
|
"location": {
|
|
2480
2656
|
"filePath": "cli.main.runtime.ts",
|
|
2481
|
-
"line":
|
|
2657
|
+
"line": 175,
|
|
2482
2658
|
"character": 5
|
|
2483
2659
|
},
|
|
2484
2660
|
"name": "[ loggerMain ]",
|
|
@@ -2486,7 +2662,7 @@
|
|
|
2486
2662
|
"__schema": "TupleTypeSchema",
|
|
2487
2663
|
"location": {
|
|
2488
2664
|
"filePath": "cli.main.runtime.ts",
|
|
2489
|
-
"line":
|
|
2665
|
+
"line": 175,
|
|
2490
2666
|
"character": 19
|
|
2491
2667
|
},
|
|
2492
2668
|
"elements": [
|
|
@@ -2494,7 +2670,7 @@
|
|
|
2494
2670
|
"__schema": "TypeRefSchema",
|
|
2495
2671
|
"location": {
|
|
2496
2672
|
"filePath": "cli.main.runtime.ts",
|
|
2497
|
-
"line":
|
|
2673
|
+
"line": 175,
|
|
2498
2674
|
"character": 20
|
|
2499
2675
|
},
|
|
2500
2676
|
"name": "LoggerMain",
|
|
@@ -2512,7 +2688,7 @@
|
|
|
2512
2688
|
"__schema": "ParameterSchema",
|
|
2513
2689
|
"location": {
|
|
2514
2690
|
"filePath": "cli.main.runtime.ts",
|
|
2515
|
-
"line":
|
|
2691
|
+
"line": 176,
|
|
2516
2692
|
"character": 5
|
|
2517
2693
|
},
|
|
2518
2694
|
"name": "config",
|
|
@@ -2520,7 +2696,7 @@
|
|
|
2520
2696
|
"__schema": "InferenceTypeSchema",
|
|
2521
2697
|
"location": {
|
|
2522
2698
|
"filePath": "cli.main.runtime.ts",
|
|
2523
|
-
"line":
|
|
2699
|
+
"line": 176,
|
|
2524
2700
|
"character": 5
|
|
2525
2701
|
},
|
|
2526
2702
|
"type": "any"
|
|
@@ -2532,7 +2708,7 @@
|
|
|
2532
2708
|
"__schema": "ParameterSchema",
|
|
2533
2709
|
"location": {
|
|
2534
2710
|
"filePath": "cli.main.runtime.ts",
|
|
2535
|
-
"line":
|
|
2711
|
+
"line": 177,
|
|
2536
2712
|
"character": 5
|
|
2537
2713
|
},
|
|
2538
2714
|
"name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
|
|
@@ -2540,7 +2716,7 @@
|
|
|
2540
2716
|
"__schema": "TupleTypeSchema",
|
|
2541
2717
|
"location": {
|
|
2542
2718
|
"filePath": "cli.main.runtime.ts",
|
|
2543
|
-
"line":
|
|
2719
|
+
"line": 177,
|
|
2544
2720
|
"character": 72
|
|
2545
2721
|
},
|
|
2546
2722
|
"elements": [
|
|
@@ -2548,7 +2724,7 @@
|
|
|
2548
2724
|
"__schema": "TypeRefSchema",
|
|
2549
2725
|
"location": {
|
|
2550
2726
|
"filePath": "cli.main.runtime.ts",
|
|
2551
|
-
"line":
|
|
2727
|
+
"line": 178,
|
|
2552
2728
|
"character": 7
|
|
2553
2729
|
},
|
|
2554
2730
|
"name": "CommandsSlot"
|
|
@@ -2557,7 +2733,7 @@
|
|
|
2557
2733
|
"__schema": "TypeRefSchema",
|
|
2558
2734
|
"location": {
|
|
2559
2735
|
"filePath": "cli.main.runtime.ts",
|
|
2560
|
-
"line":
|
|
2736
|
+
"line": 179,
|
|
2561
2737
|
"character": 7
|
|
2562
2738
|
},
|
|
2563
2739
|
"name": "OnStartSlot",
|
|
@@ -2567,7 +2743,7 @@
|
|
|
2567
2743
|
"__schema": "TypeRefSchema",
|
|
2568
2744
|
"location": {
|
|
2569
2745
|
"filePath": "cli.main.runtime.ts",
|
|
2570
|
-
"line":
|
|
2746
|
+
"line": 180,
|
|
2571
2747
|
"character": 7
|
|
2572
2748
|
},
|
|
2573
2749
|
"name": "OnCommandStartSlot",
|
|
@@ -2577,7 +2753,7 @@
|
|
|
2577
2753
|
"__schema": "TypeRefSchema",
|
|
2578
2754
|
"location": {
|
|
2579
2755
|
"filePath": "cli.main.runtime.ts",
|
|
2580
|
-
"line":
|
|
2756
|
+
"line": 181,
|
|
2581
2757
|
"character": 7
|
|
2582
2758
|
},
|
|
2583
2759
|
"name": "OnBeforeExitSlot",
|
|
@@ -2593,7 +2769,7 @@
|
|
|
2593
2769
|
"__schema": "InferenceTypeSchema",
|
|
2594
2770
|
"location": {
|
|
2595
2771
|
"filePath": "cli.main.runtime.ts",
|
|
2596
|
-
"line":
|
|
2772
|
+
"line": 174,
|
|
2597
2773
|
"character": 3
|
|
2598
2774
|
},
|
|
2599
2775
|
"type": "Promise<CLIMain>"
|
|
@@ -2613,7 +2789,7 @@
|
|
|
2613
2789
|
"__schema": "UnImplementedSchema",
|
|
2614
2790
|
"location": {
|
|
2615
2791
|
"filePath": "cli.main.runtime.ts",
|
|
2616
|
-
"line":
|
|
2792
|
+
"line": 196,
|
|
2617
2793
|
"character": 1
|
|
2618
2794
|
},
|
|
2619
2795
|
"name": "CLIAspect.addRuntime(CLIMain);",
|
|
@@ -2623,14 +2799,14 @@
|
|
|
2623
2799
|
"__schema": "FunctionLikeSchema",
|
|
2624
2800
|
"location": {
|
|
2625
2801
|
"filePath": "cli.main.runtime.ts",
|
|
2626
|
-
"line":
|
|
2802
|
+
"line": 204,
|
|
2627
2803
|
"character": 1
|
|
2628
2804
|
},
|
|
2629
2805
|
"doc": {
|
|
2630
2806
|
"__schema": "DocSchema",
|
|
2631
2807
|
"location": {
|
|
2632
2808
|
"filePath": "cli.main.runtime.ts",
|
|
2633
|
-
"line":
|
|
2809
|
+
"line": 198,
|
|
2634
2810
|
"character": 1
|
|
2635
2811
|
},
|
|
2636
2812
|
"raw": "/**\n * kind of a hack.\n * in the legacy, this is running at the beginning and it take care of issues when Bit files are missing,\n * such as \".bit\".\n * (to make this process better, you can easily remove it and run the e2e-tests. you'll see some failing)\n */",
|
|
@@ -2644,7 +2820,7 @@
|
|
|
2644
2820
|
"__schema": "InferenceTypeSchema",
|
|
2645
2821
|
"location": {
|
|
2646
2822
|
"filePath": "cli.main.runtime.ts",
|
|
2647
|
-
"line":
|
|
2823
|
+
"line": 204,
|
|
2648
2824
|
"character": 1
|
|
2649
2825
|
},
|
|
2650
2826
|
"type": "Promise<void>"
|
|
@@ -2657,7 +2833,7 @@
|
|
|
2657
2833
|
"__schema": "FunctionLikeSchema",
|
|
2658
2834
|
"location": {
|
|
2659
2835
|
"filePath": "cli.main.runtime.ts",
|
|
2660
|
-
"line":
|
|
2836
|
+
"line": 217,
|
|
2661
2837
|
"character": 1
|
|
2662
2838
|
},
|
|
2663
2839
|
"signature": "function isFullUrl(url: string): boolean",
|
|
@@ -2667,7 +2843,7 @@
|
|
|
2667
2843
|
"__schema": "ParameterSchema",
|
|
2668
2844
|
"location": {
|
|
2669
2845
|
"filePath": "cli.main.runtime.ts",
|
|
2670
|
-
"line":
|
|
2846
|
+
"line": 217,
|
|
2671
2847
|
"character": 20
|
|
2672
2848
|
},
|
|
2673
2849
|
"name": "url",
|
|
@@ -2675,7 +2851,7 @@
|
|
|
2675
2851
|
"__schema": "KeywordTypeSchema",
|
|
2676
2852
|
"location": {
|
|
2677
2853
|
"filePath": "cli.main.runtime.ts",
|
|
2678
|
-
"line":
|
|
2854
|
+
"line": 217,
|
|
2679
2855
|
"character": 25
|
|
2680
2856
|
},
|
|
2681
2857
|
"name": "string"
|
|
@@ -2688,7 +2864,7 @@
|
|
|
2688
2864
|
"__schema": "TypeRefSchema",
|
|
2689
2865
|
"location": {
|
|
2690
2866
|
"filePath": "cli.main.runtime.ts",
|
|
2691
|
-
"line":
|
|
2867
|
+
"line": 217,
|
|
2692
2868
|
"character": 1
|
|
2693
2869
|
},
|
|
2694
2870
|
"name": "isFullUrl",
|
|
@@ -2775,7 +2951,7 @@
|
|
|
2775
2951
|
"componentId": {
|
|
2776
2952
|
"scope": "teambit.harmony",
|
|
2777
2953
|
"name": "cli",
|
|
2778
|
-
"version": "0.0.
|
|
2954
|
+
"version": "0.0.900"
|
|
2779
2955
|
},
|
|
2780
2956
|
"taggedModuleExports": []
|
|
2781
2957
|
}
|