@teambit/cli 0.0.850 → 0.0.851

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.
@@ -0,0 +1,2253 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "location": {
19
+ "filePath": "cli.main.runtime.ts",
20
+ "line": 27,
21
+ "character": 1
22
+ },
23
+ "signature": "class CLIMain",
24
+ "name": "CLIMain",
25
+ "members": [
26
+ {
27
+ "__schema": "VariableLikeSchema",
28
+ "location": {
29
+ "filePath": "cli.main.runtime.ts",
30
+ "line": 28,
31
+ "character": 3
32
+ },
33
+ "signature": "(property) CLIMain.groups: GroupsType",
34
+ "name": "groups",
35
+ "type": {
36
+ "__schema": "TypeRefSchema",
37
+ "location": {
38
+ "filePath": "cli.main.runtime.ts",
39
+ "line": 28,
40
+ "character": 3
41
+ },
42
+ "name": "GroupsType",
43
+ "packageName": "@teambit/legacy/dist/cli/command-groups"
44
+ },
45
+ "isOptional": true,
46
+ "defaultValue": "clone(groups)"
47
+ },
48
+ {
49
+ "__schema": "ConstructorSchema",
50
+ "location": {
51
+ "filePath": "cli.main.runtime.ts",
52
+ "line": 29,
53
+ "character": 3
54
+ },
55
+ "signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
56
+ "name": "constructor",
57
+ "params": [
58
+ {
59
+ "__schema": "ParameterSchema",
60
+ "location": {
61
+ "filePath": "cli.main.runtime.ts",
62
+ "line": 30,
63
+ "character": 5
64
+ },
65
+ "name": "commandsSlot",
66
+ "type": {
67
+ "__schema": "TypeRefSchema",
68
+ "location": {
69
+ "filePath": "cli.main.runtime.ts",
70
+ "line": 30,
71
+ "character": 27
72
+ },
73
+ "name": "CommandsSlot"
74
+ },
75
+ "isOptional": false,
76
+ "isSpread": false
77
+ },
78
+ {
79
+ "__schema": "ParameterSchema",
80
+ "location": {
81
+ "filePath": "cli.main.runtime.ts",
82
+ "line": 31,
83
+ "character": 5
84
+ },
85
+ "name": "onStartSlot",
86
+ "type": {
87
+ "__schema": "TypeRefSchema",
88
+ "location": {
89
+ "filePath": "cli.main.runtime.ts",
90
+ "line": 31,
91
+ "character": 26
92
+ },
93
+ "name": "OnStartSlot"
94
+ },
95
+ "isOptional": false,
96
+ "isSpread": false
97
+ },
98
+ {
99
+ "__schema": "ParameterSchema",
100
+ "location": {
101
+ "filePath": "cli.main.runtime.ts",
102
+ "line": 32,
103
+ "character": 5
104
+ },
105
+ "name": "onBeforeExitSlot",
106
+ "type": {
107
+ "__schema": "TypeRefSchema",
108
+ "location": {
109
+ "filePath": "cli.main.runtime.ts",
110
+ "line": 32,
111
+ "character": 31
112
+ },
113
+ "name": "OnBeforeExitSlot"
114
+ },
115
+ "isOptional": false,
116
+ "isSpread": false
117
+ },
118
+ {
119
+ "__schema": "ParameterSchema",
120
+ "location": {
121
+ "filePath": "cli.main.runtime.ts",
122
+ "line": 33,
123
+ "character": 5
124
+ },
125
+ "name": "logger",
126
+ "type": {
127
+ "__schema": "TypeRefSchema",
128
+ "location": {
129
+ "filePath": "cli.main.runtime.ts",
130
+ "line": 33,
131
+ "character": 21
132
+ },
133
+ "name": "Logger"
134
+ },
135
+ "isOptional": false,
136
+ "isSpread": false
137
+ }
138
+ ],
139
+ "returnType": {
140
+ "__schema": "ThisTypeSchema",
141
+ "location": {
142
+ "filePath": "cli.main.runtime.ts",
143
+ "line": 27,
144
+ "character": 1
145
+ },
146
+ "name": "CLIMain"
147
+ },
148
+ "modifiers": []
149
+ },
150
+ {
151
+ "__schema": "FunctionLikeSchema",
152
+ "location": {
153
+ "filePath": "cli.main.runtime.ts",
154
+ "line": 39,
155
+ "character": 3
156
+ },
157
+ "doc": {
158
+ "__schema": "DocSchema",
159
+ "location": {
160
+ "filePath": "cli.main.runtime.ts",
161
+ "line": 36,
162
+ "character": 3
163
+ },
164
+ "raw": "/**\n * registers a new command in to the CLI.\n */",
165
+ "comment": "registers a new command in to the CLI."
166
+ },
167
+ "signature": "(method) CLIMain.register(...commands: CommandList): void",
168
+ "name": "register",
169
+ "params": [
170
+ {
171
+ "__schema": "ParameterSchema",
172
+ "location": {
173
+ "filePath": "cli.main.runtime.ts",
174
+ "line": 39,
175
+ "character": 12
176
+ },
177
+ "name": "commands",
178
+ "type": {
179
+ "__schema": "TypeRefSchema",
180
+ "location": {
181
+ "filePath": "cli.main.runtime.ts",
182
+ "line": 39,
183
+ "character": 25
184
+ },
185
+ "name": "CommandList"
186
+ },
187
+ "isOptional": false,
188
+ "isSpread": true
189
+ }
190
+ ],
191
+ "returnType": {
192
+ "__schema": "InferenceTypeSchema",
193
+ "location": {
194
+ "filePath": "cli.main.runtime.ts",
195
+ "line": 39,
196
+ "character": 3
197
+ },
198
+ "type": "void"
199
+ },
200
+ "modifiers": []
201
+ },
202
+ {
203
+ "__schema": "FunctionLikeSchema",
204
+ "location": {
205
+ "filePath": "cli.main.runtime.ts",
206
+ "line": 52,
207
+ "character": 3
208
+ },
209
+ "doc": {
210
+ "__schema": "DocSchema",
211
+ "location": {
212
+ "filePath": "cli.main.runtime.ts",
213
+ "line": 48,
214
+ "character": 3
215
+ },
216
+ "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 */",
217
+ "comment": "helpful for having the same command name in different environments (e.g. legacy and non-legacy).\nfor example `cli.unregister('tag');` removes the \"bit tag\" command."
218
+ },
219
+ "signature": "(method) CLIMain.unregister(commandName: string): void",
220
+ "name": "unregister",
221
+ "params": [
222
+ {
223
+ "__schema": "ParameterSchema",
224
+ "location": {
225
+ "filePath": "cli.main.runtime.ts",
226
+ "line": 52,
227
+ "character": 14
228
+ },
229
+ "name": "commandName",
230
+ "type": {
231
+ "__schema": "KeywordTypeSchema",
232
+ "location": {
233
+ "filePath": "cli.main.runtime.ts",
234
+ "line": 52,
235
+ "character": 27
236
+ },
237
+ "name": "string"
238
+ },
239
+ "isOptional": false,
240
+ "isSpread": false
241
+ }
242
+ ],
243
+ "returnType": {
244
+ "__schema": "InferenceTypeSchema",
245
+ "location": {
246
+ "filePath": "cli.main.runtime.ts",
247
+ "line": 52,
248
+ "character": 3
249
+ },
250
+ "type": "void"
251
+ },
252
+ "modifiers": []
253
+ },
254
+ {
255
+ "__schema": "GetAccessorSchema",
256
+ "location": {
257
+ "filePath": "cli.main.runtime.ts",
258
+ "line": 64,
259
+ "character": 3
260
+ },
261
+ "signature": "(getter) CLIMain.commands: CommandList",
262
+ "name": "commands",
263
+ "type": {
264
+ "__schema": "TypeRefSchema",
265
+ "location": {
266
+ "filePath": "cli.main.runtime.ts",
267
+ "line": 64,
268
+ "character": 3
269
+ },
270
+ "name": "CommandList"
271
+ }
272
+ },
273
+ {
274
+ "__schema": "FunctionLikeSchema",
275
+ "location": {
276
+ "filePath": "cli.main.runtime.ts",
277
+ "line": 71,
278
+ "character": 3
279
+ },
280
+ "doc": {
281
+ "__schema": "DocSchema",
282
+ "location": {
283
+ "filePath": "cli.main.runtime.ts",
284
+ "line": 68,
285
+ "character": 3
286
+ },
287
+ "raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
288
+ "comment": "get an instance of a registered command. (useful for aspects to modify and extend existing commands)"
289
+ },
290
+ "signature": "(method) CLIMain.getCommand(name: string): Command | undefined",
291
+ "name": "getCommand",
292
+ "params": [
293
+ {
294
+ "__schema": "ParameterSchema",
295
+ "location": {
296
+ "filePath": "cli.main.runtime.ts",
297
+ "line": 71,
298
+ "character": 14
299
+ },
300
+ "name": "name",
301
+ "type": {
302
+ "__schema": "KeywordTypeSchema",
303
+ "location": {
304
+ "filePath": "cli.main.runtime.ts",
305
+ "line": 71,
306
+ "character": 20
307
+ },
308
+ "name": "string"
309
+ },
310
+ "isOptional": false,
311
+ "isSpread": false
312
+ }
313
+ ],
314
+ "returnType": {
315
+ "__schema": "TypeUnionSchema",
316
+ "location": {
317
+ "filePath": "cli.main.runtime.ts",
318
+ "line": 71,
319
+ "character": 29
320
+ },
321
+ "types": [
322
+ {
323
+ "__schema": "TypeRefSchema",
324
+ "location": {
325
+ "filePath": "cli.main.runtime.ts",
326
+ "line": 71,
327
+ "character": 29
328
+ },
329
+ "name": "Command"
330
+ },
331
+ {
332
+ "__schema": "KeywordTypeSchema",
333
+ "location": {
334
+ "filePath": "cli.main.runtime.ts",
335
+ "line": 71,
336
+ "character": 39
337
+ },
338
+ "name": "undefined"
339
+ }
340
+ ]
341
+ },
342
+ "modifiers": []
343
+ },
344
+ {
345
+ "__schema": "FunctionLikeSchema",
346
+ "location": {
347
+ "filePath": "cli.main.runtime.ts",
348
+ "line": 81,
349
+ "character": 3
350
+ },
351
+ "doc": {
352
+ "__schema": "DocSchema",
353
+ "location": {
354
+ "filePath": "cli.main.runtime.ts",
355
+ "line": 75,
356
+ "character": 3
357
+ },
358
+ "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 */",
359
+ "comment": "when running `bit help`, commands are grouped by categories.\nthis method helps registering a new group by providing its name and a description.\nthe name is what needs to be assigned to the `group` property of the Command interface.\nthe description is what shown in the `bit help` output."
360
+ },
361
+ "signature": "(method) CLIMain.registerGroup(name: string, description: string): void",
362
+ "name": "registerGroup",
363
+ "params": [
364
+ {
365
+ "__schema": "ParameterSchema",
366
+ "location": {
367
+ "filePath": "cli.main.runtime.ts",
368
+ "line": 81,
369
+ "character": 17
370
+ },
371
+ "name": "name",
372
+ "type": {
373
+ "__schema": "KeywordTypeSchema",
374
+ "location": {
375
+ "filePath": "cli.main.runtime.ts",
376
+ "line": 81,
377
+ "character": 23
378
+ },
379
+ "name": "string"
380
+ },
381
+ "isOptional": false,
382
+ "isSpread": false
383
+ },
384
+ {
385
+ "__schema": "ParameterSchema",
386
+ "location": {
387
+ "filePath": "cli.main.runtime.ts",
388
+ "line": 81,
389
+ "character": 31
390
+ },
391
+ "name": "description",
392
+ "type": {
393
+ "__schema": "KeywordTypeSchema",
394
+ "location": {
395
+ "filePath": "cli.main.runtime.ts",
396
+ "line": 81,
397
+ "character": 44
398
+ },
399
+ "name": "string"
400
+ },
401
+ "isOptional": false,
402
+ "isSpread": false
403
+ }
404
+ ],
405
+ "returnType": {
406
+ "__schema": "InferenceTypeSchema",
407
+ "location": {
408
+ "filePath": "cli.main.runtime.ts",
409
+ "line": 81,
410
+ "character": 3
411
+ },
412
+ "type": "void"
413
+ },
414
+ "modifiers": []
415
+ },
416
+ {
417
+ "__schema": "FunctionLikeSchema",
418
+ "location": {
419
+ "filePath": "cli.main.runtime.ts",
420
+ "line": 89,
421
+ "character": 3
422
+ },
423
+ "signature": "(method) CLIMain.registerOnStart(onStartFn: OnStart): this",
424
+ "name": "registerOnStart",
425
+ "params": [
426
+ {
427
+ "__schema": "ParameterSchema",
428
+ "location": {
429
+ "filePath": "cli.main.runtime.ts",
430
+ "line": 89,
431
+ "character": 19
432
+ },
433
+ "name": "onStartFn",
434
+ "type": {
435
+ "__schema": "TypeRefSchema",
436
+ "location": {
437
+ "filePath": "cli.main.runtime.ts",
438
+ "line": 89,
439
+ "character": 30
440
+ },
441
+ "name": "OnStart"
442
+ },
443
+ "isOptional": false,
444
+ "isSpread": false
445
+ }
446
+ ],
447
+ "returnType": {
448
+ "__schema": "TypeRefSchema",
449
+ "location": {
450
+ "filePath": "cli.main.runtime.ts",
451
+ "line": 89,
452
+ "character": 3
453
+ },
454
+ "name": "CLIMain"
455
+ },
456
+ "modifiers": []
457
+ },
458
+ {
459
+ "__schema": "FunctionLikeSchema",
460
+ "location": {
461
+ "filePath": "cli.main.runtime.ts",
462
+ "line": 109,
463
+ "character": 3
464
+ },
465
+ "doc": {
466
+ "__schema": "DocSchema",
467
+ "location": {
468
+ "filePath": "cli.main.runtime.ts",
469
+ "line": 94,
470
+ "character": 3
471
+ },
472
+ "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 */",
473
+ "comment": "This will register a function to be called before the process exits.\nThis will run only for \"regular\" exits\ne.g.\nyes - command run and finished successfully\nyes - command run and failed gracefully (code 1)\nnot SIGKILL (kill -9)\nnot SIGINT (Ctrl+C)\nnot SIGTERM (kill)\nnot uncaughtException\nnot unhandledRejection",
474
+ "tags": [
475
+ {
476
+ "__schema": "PropertyLikeTagSchema",
477
+ "location": {
478
+ "filePath": "cli.main.runtime.ts",
479
+ "line": 106,
480
+ "character": 6
481
+ },
482
+ "name": "onBeforeExitFn",
483
+ "tagName": "parameter"
484
+ },
485
+ {
486
+ "__schema": "ReturnTagSchema",
487
+ "location": {
488
+ "filePath": "cli.main.runtime.ts",
489
+ "line": 107,
490
+ "character": 6
491
+ },
492
+ "tagName": "return"
493
+ }
494
+ ]
495
+ },
496
+ "signature": "(method) CLIMain.registerOnBeforeExit(onBeforeExitFn: OnBeforeExitFn): this",
497
+ "name": "registerOnBeforeExit",
498
+ "params": [
499
+ {
500
+ "__schema": "ParameterSchema",
501
+ "location": {
502
+ "filePath": "cli.main.runtime.ts",
503
+ "line": 109,
504
+ "character": 24
505
+ },
506
+ "name": "onBeforeExitFn",
507
+ "type": {
508
+ "__schema": "TypeRefSchema",
509
+ "location": {
510
+ "filePath": "cli.main.runtime.ts",
511
+ "line": 109,
512
+ "character": 40
513
+ },
514
+ "name": "OnBeforeExitFn"
515
+ },
516
+ "isOptional": false,
517
+ "isSpread": false
518
+ }
519
+ ],
520
+ "returnType": {
521
+ "__schema": "TypeRefSchema",
522
+ "location": {
523
+ "filePath": "cli.main.runtime.ts",
524
+ "line": 109,
525
+ "character": 3
526
+ },
527
+ "name": "CLIMain"
528
+ },
529
+ "modifiers": []
530
+ },
531
+ {
532
+ "__schema": "FunctionLikeSchema",
533
+ "location": {
534
+ "filePath": "cli.main.runtime.ts",
535
+ "line": 118,
536
+ "character": 3
537
+ },
538
+ "doc": {
539
+ "__schema": "DocSchema",
540
+ "location": {
541
+ "filePath": "cli.main.runtime.ts",
542
+ "line": 115,
543
+ "character": 3
544
+ },
545
+ "raw": "/**\n * execute commands registered to this aspect.\n */",
546
+ "comment": "execute commands registered to this aspect."
547
+ },
548
+ "signature": "(method) CLIMain.run(hasWorkspace: boolean): Promise<void>",
549
+ "name": "run",
550
+ "params": [
551
+ {
552
+ "__schema": "ParameterSchema",
553
+ "location": {
554
+ "filePath": "cli.main.runtime.ts",
555
+ "line": 118,
556
+ "character": 13
557
+ },
558
+ "name": "hasWorkspace",
559
+ "type": {
560
+ "__schema": "KeywordTypeSchema",
561
+ "location": {
562
+ "filePath": "cli.main.runtime.ts",
563
+ "line": 118,
564
+ "character": 27
565
+ },
566
+ "name": "boolean"
567
+ },
568
+ "isOptional": false,
569
+ "isSpread": false
570
+ }
571
+ ],
572
+ "returnType": {
573
+ "__schema": "InferenceTypeSchema",
574
+ "location": {
575
+ "filePath": "cli.main.runtime.ts",
576
+ "line": 118,
577
+ "character": 3
578
+ },
579
+ "type": "Promise<void>"
580
+ },
581
+ "modifiers": [
582
+ "async"
583
+ ]
584
+ },
585
+ {
586
+ "__schema": "VariableLikeSchema",
587
+ "location": {
588
+ "filePath": "cli.main.runtime.ts",
589
+ "line": 147,
590
+ "character": 3
591
+ },
592
+ "signature": "(property) CLIMain.dependencies: Aspect[]",
593
+ "name": "dependencies",
594
+ "type": {
595
+ "__schema": "InferenceTypeSchema",
596
+ "location": {
597
+ "filePath": "cli.main.runtime.ts",
598
+ "line": 147,
599
+ "character": 3
600
+ },
601
+ "type": "Aspect[]"
602
+ },
603
+ "isOptional": true,
604
+ "defaultValue": "[LoggerAspect]"
605
+ },
606
+ {
607
+ "__schema": "VariableLikeSchema",
608
+ "location": {
609
+ "filePath": "cli.main.runtime.ts",
610
+ "line": 148,
611
+ "character": 3
612
+ },
613
+ "signature": "(property) CLIMain.runtime: RuntimeDefinition",
614
+ "name": "runtime",
615
+ "type": {
616
+ "__schema": "InferenceTypeSchema",
617
+ "location": {
618
+ "filePath": "cli.main.runtime.ts",
619
+ "line": 148,
620
+ "character": 3
621
+ },
622
+ "type": "RuntimeDefinition"
623
+ },
624
+ "isOptional": true,
625
+ "defaultValue": "MainRuntime"
626
+ },
627
+ {
628
+ "__schema": "VariableLikeSchema",
629
+ "location": {
630
+ "filePath": "cli.main.runtime.ts",
631
+ "line": 149,
632
+ "character": 3
633
+ },
634
+ "signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>))[]",
635
+ "name": "slots",
636
+ "type": {
637
+ "__schema": "InferenceTypeSchema",
638
+ "location": {
639
+ "filePath": "cli.main.runtime.ts",
640
+ "line": 149,
641
+ "character": 3
642
+ },
643
+ "type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>))[]"
644
+ },
645
+ "isOptional": true,
646
+ "defaultValue": "[Slot.withType<CommandList>(), Slot.withType<OnStart>(), Slot.withType<OnBeforeExitFn>()]"
647
+ },
648
+ {
649
+ "__schema": "FunctionLikeSchema",
650
+ "location": {
651
+ "filePath": "cli.main.runtime.ts",
652
+ "line": 151,
653
+ "character": 3
654
+ },
655
+ "signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onBeforeExitSlot]: [CommandsSlot, OnStartSlot, OnBeforeExitSlot]): Promise<CLIMain>",
656
+ "name": "provider",
657
+ "params": [
658
+ {
659
+ "__schema": "ParameterSchema",
660
+ "location": {
661
+ "filePath": "cli.main.runtime.ts",
662
+ "line": 152,
663
+ "character": 5
664
+ },
665
+ "name": "[ loggerMain ]",
666
+ "type": {
667
+ "__schema": "TupleTypeSchema",
668
+ "location": {
669
+ "filePath": "cli.main.runtime.ts",
670
+ "line": 152,
671
+ "character": 19
672
+ },
673
+ "elements": [
674
+ {
675
+ "__schema": "TypeRefSchema",
676
+ "location": {
677
+ "filePath": "cli.main.runtime.ts",
678
+ "line": 152,
679
+ "character": 20
680
+ },
681
+ "name": "LoggerMain"
682
+ }
683
+ ]
684
+ },
685
+ "isOptional": false,
686
+ "isSpread": false
687
+ },
688
+ {
689
+ "__schema": "ParameterSchema",
690
+ "location": {
691
+ "filePath": "cli.main.runtime.ts",
692
+ "line": 153,
693
+ "character": 5
694
+ },
695
+ "name": "config",
696
+ "type": {
697
+ "__schema": "InferenceTypeSchema",
698
+ "location": {
699
+ "filePath": "cli.main.runtime.ts",
700
+ "line": 153,
701
+ "character": 5
702
+ },
703
+ "type": "any"
704
+ },
705
+ "isOptional": false,
706
+ "isSpread": false
707
+ },
708
+ {
709
+ "__schema": "ParameterSchema",
710
+ "location": {
711
+ "filePath": "cli.main.runtime.ts",
712
+ "line": 154,
713
+ "character": 5
714
+ },
715
+ "name": "[ commandsSlot, onStartSlot, onBeforeExitSlot ]",
716
+ "type": {
717
+ "__schema": "TupleTypeSchema",
718
+ "location": {
719
+ "filePath": "cli.main.runtime.ts",
720
+ "line": 154,
721
+ "character": 52
722
+ },
723
+ "elements": [
724
+ {
725
+ "__schema": "TypeRefSchema",
726
+ "location": {
727
+ "filePath": "cli.main.runtime.ts",
728
+ "line": 154,
729
+ "character": 53
730
+ },
731
+ "name": "CommandsSlot"
732
+ },
733
+ {
734
+ "__schema": "TypeRefSchema",
735
+ "location": {
736
+ "filePath": "cli.main.runtime.ts",
737
+ "line": 154,
738
+ "character": 67
739
+ },
740
+ "name": "OnStartSlot"
741
+ },
742
+ {
743
+ "__schema": "TypeRefSchema",
744
+ "location": {
745
+ "filePath": "cli.main.runtime.ts",
746
+ "line": 154,
747
+ "character": 80
748
+ },
749
+ "name": "OnBeforeExitSlot"
750
+ }
751
+ ]
752
+ },
753
+ "isOptional": false,
754
+ "isSpread": false
755
+ }
756
+ ],
757
+ "returnType": {
758
+ "__schema": "InferenceTypeSchema",
759
+ "location": {
760
+ "filePath": "cli.main.runtime.ts",
761
+ "line": 151,
762
+ "character": 3
763
+ },
764
+ "type": "Promise<CLIMain>"
765
+ },
766
+ "modifiers": [
767
+ "static",
768
+ "async"
769
+ ]
770
+ }
771
+ ],
772
+ "extendsNodes": [],
773
+ "implementNodes": []
774
+ },
775
+ {
776
+ "__schema": "TypeSchema",
777
+ "location": {
778
+ "filePath": "cli.main.runtime.ts",
779
+ "line": 19,
780
+ "character": 1
781
+ },
782
+ "signature": "type CommandList = Command[]",
783
+ "name": "CommandList",
784
+ "type": {
785
+ "__schema": "TypeRefSchema",
786
+ "location": {
787
+ "filePath": "cli.main.runtime.ts",
788
+ "line": 19,
789
+ "character": 27
790
+ },
791
+ "name": "Array",
792
+ "typeArgs": [
793
+ {
794
+ "__schema": "TypeRefSchema",
795
+ "location": {
796
+ "filePath": "cli.main.runtime.ts",
797
+ "line": 19,
798
+ "character": 33
799
+ },
800
+ "name": "Command"
801
+ }
802
+ ]
803
+ }
804
+ },
805
+ {
806
+ "__schema": "TypeSchema",
807
+ "location": {
808
+ "filePath": "cli.main.runtime.ts",
809
+ "line": 24,
810
+ "character": 1
811
+ },
812
+ "signature": "type CommandsSlot = SlotRegistry<CommandList>",
813
+ "name": "CommandsSlot",
814
+ "type": {
815
+ "__schema": "TypeRefSchema",
816
+ "location": {
817
+ "filePath": "cli.main.runtime.ts",
818
+ "line": 24,
819
+ "character": 28
820
+ },
821
+ "name": "SlotRegistry",
822
+ "typeArgs": [
823
+ {
824
+ "__schema": "TypeRefSchema",
825
+ "location": {
826
+ "filePath": "cli.main.runtime.ts",
827
+ "line": 24,
828
+ "character": 41
829
+ },
830
+ "name": "CommandList"
831
+ }
832
+ ]
833
+ }
834
+ },
835
+ {
836
+ "__schema": "TypeRefSchema",
837
+ "location": {
838
+ "filePath": "index.ts",
839
+ "line": 4,
840
+ "character": 15
841
+ },
842
+ "name": "Command",
843
+ "packageName": "@teambit/legacy/dist/cli/command"
844
+ },
845
+ {
846
+ "__schema": "TypeRefSchema",
847
+ "location": {
848
+ "filePath": "index.ts",
849
+ "line": 4,
850
+ "character": 24
851
+ },
852
+ "name": "CLIArgs",
853
+ "packageName": "@teambit/legacy/dist/cli/command"
854
+ },
855
+ {
856
+ "__schema": "TypeRefSchema",
857
+ "location": {
858
+ "filePath": "index.ts",
859
+ "line": 4,
860
+ "character": 33
861
+ },
862
+ "name": "Flags",
863
+ "packageName": "@teambit/legacy/dist/cli/command"
864
+ },
865
+ {
866
+ "__schema": "TypeRefSchema",
867
+ "location": {
868
+ "filePath": "index.ts",
869
+ "line": 4,
870
+ "character": 40
871
+ },
872
+ "name": "GenericObject",
873
+ "packageName": "@teambit/legacy/dist/cli/command"
874
+ },
875
+ {
876
+ "__schema": "TypeRefSchema",
877
+ "location": {
878
+ "filePath": "index.ts",
879
+ "line": 5,
880
+ "character": 15
881
+ },
882
+ "name": "CommandOptions",
883
+ "packageName": "@teambit/legacy/dist/cli/legacy-command"
884
+ },
885
+ {
886
+ "__schema": "ClassSchema",
887
+ "location": {
888
+ "filePath": "exceptions/already-exists.ts",
889
+ "line": 3,
890
+ "character": 1
891
+ },
892
+ "signature": "class AlreadyExistsError",
893
+ "name": "AlreadyExistsError",
894
+ "members": [
895
+ {
896
+ "__schema": "ConstructorSchema",
897
+ "location": {
898
+ "filePath": "exceptions/already-exists.ts",
899
+ "line": 4,
900
+ "character": 3
901
+ },
902
+ "signature": "constructor AlreadyExistsError(type: string, name: string): AlreadyExistsError",
903
+ "name": "constructor",
904
+ "params": [
905
+ {
906
+ "__schema": "ParameterSchema",
907
+ "location": {
908
+ "filePath": "exceptions/already-exists.ts",
909
+ "line": 4,
910
+ "character": 15
911
+ },
912
+ "name": "type",
913
+ "type": {
914
+ "__schema": "KeywordTypeSchema",
915
+ "location": {
916
+ "filePath": "exceptions/already-exists.ts",
917
+ "line": 4,
918
+ "character": 21
919
+ },
920
+ "name": "string"
921
+ },
922
+ "isOptional": false,
923
+ "isSpread": false
924
+ },
925
+ {
926
+ "__schema": "ParameterSchema",
927
+ "location": {
928
+ "filePath": "exceptions/already-exists.ts",
929
+ "line": 4,
930
+ "character": 29
931
+ },
932
+ "name": "name",
933
+ "type": {
934
+ "__schema": "KeywordTypeSchema",
935
+ "location": {
936
+ "filePath": "exceptions/already-exists.ts",
937
+ "line": 4,
938
+ "character": 35
939
+ },
940
+ "name": "string"
941
+ },
942
+ "isOptional": false,
943
+ "isSpread": false
944
+ }
945
+ ],
946
+ "returnType": {
947
+ "__schema": "ThisTypeSchema",
948
+ "location": {
949
+ "filePath": "exceptions/already-exists.ts",
950
+ "line": 3,
951
+ "character": 1
952
+ },
953
+ "name": "AlreadyExistsError"
954
+ },
955
+ "modifiers": []
956
+ }
957
+ ],
958
+ "extendsNodes": [
959
+ {
960
+ "__schema": "ExpressionWithTypeArgumentsSchema",
961
+ "location": {
962
+ "filePath": "exceptions/already-exists.ts",
963
+ "line": 3,
964
+ "character": 41
965
+ },
966
+ "name": "extends BitError",
967
+ "typeArgs": [],
968
+ "expression": {
969
+ "__schema": "TypeRefSchema",
970
+ "location": {
971
+ "filePath": "exceptions/already-exists.ts",
972
+ "line": 3,
973
+ "character": 41
974
+ },
975
+ "name": "BitError",
976
+ "componentId": {
977
+ "_legacy": {
978
+ "scope": "teambit.harmony",
979
+ "name": "cli",
980
+ "version": "0.0.851"
981
+ },
982
+ "_scope": "teambit.harmony"
983
+ }
984
+ }
985
+ }
986
+ ],
987
+ "implementNodes": []
988
+ },
989
+ {
990
+ "__schema": "VariableLikeSchema",
991
+ "location": {
992
+ "filePath": "cli.aspect.ts",
993
+ "line": 5,
994
+ "character": 14
995
+ },
996
+ "signature": "const CLIAspect: Aspect",
997
+ "name": "CLIAspect",
998
+ "type": {
999
+ "__schema": "TypeRefSchema",
1000
+ "location": {
1001
+ "filePath": "cli.aspect.ts",
1002
+ "line": 5,
1003
+ "character": 14
1004
+ },
1005
+ "name": "Aspect",
1006
+ "componentId": {
1007
+ "scope": "teambit.harmony",
1008
+ "name": "harmony",
1009
+ "version": "0.4.6"
1010
+ }
1011
+ },
1012
+ "isOptional": false,
1013
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
1014
+ },
1015
+ {
1016
+ "__schema": "VariableLikeSchema",
1017
+ "location": {
1018
+ "filePath": "cli.aspect.ts",
1019
+ "line": 3,
1020
+ "character": 14
1021
+ },
1022
+ "signature": "const MainRuntime: RuntimeDefinition",
1023
+ "name": "MainRuntime",
1024
+ "type": {
1025
+ "__schema": "TypeRefSchema",
1026
+ "location": {
1027
+ "filePath": "cli.aspect.ts",
1028
+ "line": 3,
1029
+ "character": 14
1030
+ },
1031
+ "name": "RuntimeDefinition",
1032
+ "componentId": {
1033
+ "scope": "teambit.harmony",
1034
+ "name": "harmony",
1035
+ "version": "0.4.6"
1036
+ }
1037
+ },
1038
+ "isOptional": false,
1039
+ "defaultValue": "new RuntimeDefinition('main')"
1040
+ },
1041
+ {
1042
+ "__schema": "VariableLikeSchema",
1043
+ "location": {
1044
+ "filePath": "cli.aspect.ts",
1045
+ "line": 5,
1046
+ "character": 14
1047
+ },
1048
+ "signature": "const CLIAspect: Aspect",
1049
+ "name": "CLIAspect",
1050
+ "type": {
1051
+ "__schema": "TypeRefSchema",
1052
+ "location": {
1053
+ "filePath": "cli.aspect.ts",
1054
+ "line": 5,
1055
+ "character": 14
1056
+ },
1057
+ "name": "Aspect",
1058
+ "componentId": {
1059
+ "scope": "teambit.harmony",
1060
+ "name": "harmony",
1061
+ "version": "0.4.6"
1062
+ }
1063
+ },
1064
+ "isOptional": false,
1065
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
1066
+ }
1067
+ ],
1068
+ "internals": []
1069
+ },
1070
+ "internals": [
1071
+ {
1072
+ "__schema": "ModuleSchema",
1073
+ "location": {
1074
+ "filePath": "cli.main.runtime.ts",
1075
+ "line": 1,
1076
+ "character": 1
1077
+ },
1078
+ "exports": [
1079
+ {
1080
+ "__schema": "TypeSchema",
1081
+ "location": {
1082
+ "filePath": "cli.main.runtime.ts",
1083
+ "line": 19,
1084
+ "character": 1
1085
+ },
1086
+ "signature": "type CommandList = Command[]",
1087
+ "name": "CommandList",
1088
+ "type": {
1089
+ "__schema": "TypeRefSchema",
1090
+ "location": {
1091
+ "filePath": "cli.main.runtime.ts",
1092
+ "line": 19,
1093
+ "character": 27
1094
+ },
1095
+ "name": "Array",
1096
+ "typeArgs": [
1097
+ {
1098
+ "__schema": "TypeRefSchema",
1099
+ "location": {
1100
+ "filePath": "cli.main.runtime.ts",
1101
+ "line": 19,
1102
+ "character": 33
1103
+ },
1104
+ "name": "Command"
1105
+ }
1106
+ ]
1107
+ }
1108
+ },
1109
+ {
1110
+ "__schema": "TypeSchema",
1111
+ "location": {
1112
+ "filePath": "cli.main.runtime.ts",
1113
+ "line": 20,
1114
+ "character": 1
1115
+ },
1116
+ "signature": "type OnStart = (hasWorkspace: boolean, currentCommand: string) => Promise<void>",
1117
+ "name": "OnStart",
1118
+ "type": {
1119
+ "__schema": "FunctionLikeSchema",
1120
+ "location": {
1121
+ "filePath": "cli.main.runtime.ts",
1122
+ "line": 20,
1123
+ "character": 23
1124
+ },
1125
+ "signature": "(hasWorkspace: boolean, currentCommand: string): Promise<void>",
1126
+ "name": "",
1127
+ "params": [
1128
+ {
1129
+ "__schema": "ParameterSchema",
1130
+ "location": {
1131
+ "filePath": "cli.main.runtime.ts",
1132
+ "line": 20,
1133
+ "character": 24
1134
+ },
1135
+ "name": "hasWorkspace",
1136
+ "type": {
1137
+ "__schema": "KeywordTypeSchema",
1138
+ "location": {
1139
+ "filePath": "cli.main.runtime.ts",
1140
+ "line": 20,
1141
+ "character": 38
1142
+ },
1143
+ "name": "boolean"
1144
+ },
1145
+ "isOptional": false,
1146
+ "isSpread": false
1147
+ },
1148
+ {
1149
+ "__schema": "ParameterSchema",
1150
+ "location": {
1151
+ "filePath": "cli.main.runtime.ts",
1152
+ "line": 20,
1153
+ "character": 47
1154
+ },
1155
+ "name": "currentCommand",
1156
+ "type": {
1157
+ "__schema": "KeywordTypeSchema",
1158
+ "location": {
1159
+ "filePath": "cli.main.runtime.ts",
1160
+ "line": 20,
1161
+ "character": 63
1162
+ },
1163
+ "name": "string"
1164
+ },
1165
+ "isOptional": false,
1166
+ "isSpread": false
1167
+ }
1168
+ ],
1169
+ "returnType": {
1170
+ "__schema": "TypeRefSchema",
1171
+ "location": {
1172
+ "filePath": "cli.main.runtime.ts",
1173
+ "line": 20,
1174
+ "character": 74
1175
+ },
1176
+ "name": "Promise",
1177
+ "typeArgs": [
1178
+ {
1179
+ "__schema": "KeywordTypeSchema",
1180
+ "location": {
1181
+ "filePath": "cli.main.runtime.ts",
1182
+ "line": 20,
1183
+ "character": 82
1184
+ },
1185
+ "name": "void"
1186
+ }
1187
+ ]
1188
+ },
1189
+ "modifiers": []
1190
+ }
1191
+ },
1192
+ {
1193
+ "__schema": "TypeSchema",
1194
+ "location": {
1195
+ "filePath": "cli.main.runtime.ts",
1196
+ "line": 21,
1197
+ "character": 1
1198
+ },
1199
+ "signature": "type OnBeforeExitFn = () => Promise<void>",
1200
+ "name": "OnBeforeExitFn",
1201
+ "type": {
1202
+ "__schema": "FunctionLikeSchema",
1203
+ "location": {
1204
+ "filePath": "cli.main.runtime.ts",
1205
+ "line": 21,
1206
+ "character": 30
1207
+ },
1208
+ "signature": "(): Promise<void>",
1209
+ "name": "",
1210
+ "params": [],
1211
+ "returnType": {
1212
+ "__schema": "TypeRefSchema",
1213
+ "location": {
1214
+ "filePath": "cli.main.runtime.ts",
1215
+ "line": 21,
1216
+ "character": 36
1217
+ },
1218
+ "name": "Promise",
1219
+ "typeArgs": [
1220
+ {
1221
+ "__schema": "KeywordTypeSchema",
1222
+ "location": {
1223
+ "filePath": "cli.main.runtime.ts",
1224
+ "line": 21,
1225
+ "character": 44
1226
+ },
1227
+ "name": "void"
1228
+ }
1229
+ ]
1230
+ },
1231
+ "modifiers": []
1232
+ }
1233
+ },
1234
+ {
1235
+ "__schema": "TypeSchema",
1236
+ "location": {
1237
+ "filePath": "cli.main.runtime.ts",
1238
+ "line": 23,
1239
+ "character": 1
1240
+ },
1241
+ "signature": "type OnStartSlot = SlotRegistry<OnStart>",
1242
+ "name": "OnStartSlot",
1243
+ "type": {
1244
+ "__schema": "TypeRefSchema",
1245
+ "location": {
1246
+ "filePath": "cli.main.runtime.ts",
1247
+ "line": 23,
1248
+ "character": 27
1249
+ },
1250
+ "name": "SlotRegistry",
1251
+ "typeArgs": [
1252
+ {
1253
+ "__schema": "TypeRefSchema",
1254
+ "location": {
1255
+ "filePath": "cli.main.runtime.ts",
1256
+ "line": 23,
1257
+ "character": 40
1258
+ },
1259
+ "name": "OnStart"
1260
+ }
1261
+ ]
1262
+ }
1263
+ },
1264
+ {
1265
+ "__schema": "TypeSchema",
1266
+ "location": {
1267
+ "filePath": "cli.main.runtime.ts",
1268
+ "line": 24,
1269
+ "character": 1
1270
+ },
1271
+ "signature": "type CommandsSlot = SlotRegistry<CommandList>",
1272
+ "name": "CommandsSlot",
1273
+ "type": {
1274
+ "__schema": "TypeRefSchema",
1275
+ "location": {
1276
+ "filePath": "cli.main.runtime.ts",
1277
+ "line": 24,
1278
+ "character": 28
1279
+ },
1280
+ "name": "SlotRegistry",
1281
+ "typeArgs": [
1282
+ {
1283
+ "__schema": "TypeRefSchema",
1284
+ "location": {
1285
+ "filePath": "cli.main.runtime.ts",
1286
+ "line": 24,
1287
+ "character": 41
1288
+ },
1289
+ "name": "CommandList"
1290
+ }
1291
+ ]
1292
+ }
1293
+ },
1294
+ {
1295
+ "__schema": "TypeSchema",
1296
+ "location": {
1297
+ "filePath": "cli.main.runtime.ts",
1298
+ "line": 25,
1299
+ "character": 1
1300
+ },
1301
+ "signature": "type OnBeforeExitSlot = SlotRegistry<OnBeforeExitFn>",
1302
+ "name": "OnBeforeExitSlot",
1303
+ "type": {
1304
+ "__schema": "TypeRefSchema",
1305
+ "location": {
1306
+ "filePath": "cli.main.runtime.ts",
1307
+ "line": 25,
1308
+ "character": 32
1309
+ },
1310
+ "name": "SlotRegistry",
1311
+ "typeArgs": [
1312
+ {
1313
+ "__schema": "TypeRefSchema",
1314
+ "location": {
1315
+ "filePath": "cli.main.runtime.ts",
1316
+ "line": 25,
1317
+ "character": 45
1318
+ },
1319
+ "name": "OnBeforeExitFn"
1320
+ }
1321
+ ]
1322
+ }
1323
+ },
1324
+ {
1325
+ "__schema": "ClassSchema",
1326
+ "location": {
1327
+ "filePath": "cli.main.runtime.ts",
1328
+ "line": 27,
1329
+ "character": 1
1330
+ },
1331
+ "signature": "class CLIMain",
1332
+ "name": "CLIMain",
1333
+ "members": [
1334
+ {
1335
+ "__schema": "VariableLikeSchema",
1336
+ "location": {
1337
+ "filePath": "cli.main.runtime.ts",
1338
+ "line": 28,
1339
+ "character": 3
1340
+ },
1341
+ "signature": "(property) CLIMain.groups: GroupsType",
1342
+ "name": "groups",
1343
+ "type": {
1344
+ "__schema": "TypeRefSchema",
1345
+ "location": {
1346
+ "filePath": "cli.main.runtime.ts",
1347
+ "line": 28,
1348
+ "character": 3
1349
+ },
1350
+ "name": "GroupsType",
1351
+ "packageName": "@teambit/legacy/dist/cli/command-groups"
1352
+ },
1353
+ "isOptional": true,
1354
+ "defaultValue": "clone(groups)"
1355
+ },
1356
+ {
1357
+ "__schema": "ConstructorSchema",
1358
+ "location": {
1359
+ "filePath": "cli.main.runtime.ts",
1360
+ "line": 29,
1361
+ "character": 3
1362
+ },
1363
+ "signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
1364
+ "name": "constructor",
1365
+ "params": [
1366
+ {
1367
+ "__schema": "ParameterSchema",
1368
+ "location": {
1369
+ "filePath": "cli.main.runtime.ts",
1370
+ "line": 30,
1371
+ "character": 5
1372
+ },
1373
+ "name": "commandsSlot",
1374
+ "type": {
1375
+ "__schema": "TypeRefSchema",
1376
+ "location": {
1377
+ "filePath": "cli.main.runtime.ts",
1378
+ "line": 30,
1379
+ "character": 27
1380
+ },
1381
+ "name": "CommandsSlot"
1382
+ },
1383
+ "isOptional": false,
1384
+ "isSpread": false
1385
+ },
1386
+ {
1387
+ "__schema": "ParameterSchema",
1388
+ "location": {
1389
+ "filePath": "cli.main.runtime.ts",
1390
+ "line": 31,
1391
+ "character": 5
1392
+ },
1393
+ "name": "onStartSlot",
1394
+ "type": {
1395
+ "__schema": "TypeRefSchema",
1396
+ "location": {
1397
+ "filePath": "cli.main.runtime.ts",
1398
+ "line": 31,
1399
+ "character": 26
1400
+ },
1401
+ "name": "OnStartSlot"
1402
+ },
1403
+ "isOptional": false,
1404
+ "isSpread": false
1405
+ },
1406
+ {
1407
+ "__schema": "ParameterSchema",
1408
+ "location": {
1409
+ "filePath": "cli.main.runtime.ts",
1410
+ "line": 32,
1411
+ "character": 5
1412
+ },
1413
+ "name": "onBeforeExitSlot",
1414
+ "type": {
1415
+ "__schema": "TypeRefSchema",
1416
+ "location": {
1417
+ "filePath": "cli.main.runtime.ts",
1418
+ "line": 32,
1419
+ "character": 31
1420
+ },
1421
+ "name": "OnBeforeExitSlot"
1422
+ },
1423
+ "isOptional": false,
1424
+ "isSpread": false
1425
+ },
1426
+ {
1427
+ "__schema": "ParameterSchema",
1428
+ "location": {
1429
+ "filePath": "cli.main.runtime.ts",
1430
+ "line": 33,
1431
+ "character": 5
1432
+ },
1433
+ "name": "logger",
1434
+ "type": {
1435
+ "__schema": "TypeRefSchema",
1436
+ "location": {
1437
+ "filePath": "cli.main.runtime.ts",
1438
+ "line": 33,
1439
+ "character": 21
1440
+ },
1441
+ "name": "Logger"
1442
+ },
1443
+ "isOptional": false,
1444
+ "isSpread": false
1445
+ }
1446
+ ],
1447
+ "returnType": {
1448
+ "__schema": "ThisTypeSchema",
1449
+ "location": {
1450
+ "filePath": "cli.main.runtime.ts",
1451
+ "line": 27,
1452
+ "character": 1
1453
+ },
1454
+ "name": "CLIMain"
1455
+ },
1456
+ "modifiers": []
1457
+ },
1458
+ {
1459
+ "__schema": "FunctionLikeSchema",
1460
+ "location": {
1461
+ "filePath": "cli.main.runtime.ts",
1462
+ "line": 39,
1463
+ "character": 3
1464
+ },
1465
+ "doc": {
1466
+ "__schema": "DocSchema",
1467
+ "location": {
1468
+ "filePath": "cli.main.runtime.ts",
1469
+ "line": 36,
1470
+ "character": 3
1471
+ },
1472
+ "raw": "/**\n * registers a new command in to the CLI.\n */",
1473
+ "comment": "registers a new command in to the CLI."
1474
+ },
1475
+ "signature": "(method) CLIMain.register(...commands: CommandList): void",
1476
+ "name": "register",
1477
+ "params": [
1478
+ {
1479
+ "__schema": "ParameterSchema",
1480
+ "location": {
1481
+ "filePath": "cli.main.runtime.ts",
1482
+ "line": 39,
1483
+ "character": 12
1484
+ },
1485
+ "name": "commands",
1486
+ "type": {
1487
+ "__schema": "TypeRefSchema",
1488
+ "location": {
1489
+ "filePath": "cli.main.runtime.ts",
1490
+ "line": 39,
1491
+ "character": 25
1492
+ },
1493
+ "name": "CommandList"
1494
+ },
1495
+ "isOptional": false,
1496
+ "isSpread": true
1497
+ }
1498
+ ],
1499
+ "returnType": {
1500
+ "__schema": "InferenceTypeSchema",
1501
+ "location": {
1502
+ "filePath": "cli.main.runtime.ts",
1503
+ "line": 39,
1504
+ "character": 3
1505
+ },
1506
+ "type": "void"
1507
+ },
1508
+ "modifiers": []
1509
+ },
1510
+ {
1511
+ "__schema": "FunctionLikeSchema",
1512
+ "location": {
1513
+ "filePath": "cli.main.runtime.ts",
1514
+ "line": 52,
1515
+ "character": 3
1516
+ },
1517
+ "doc": {
1518
+ "__schema": "DocSchema",
1519
+ "location": {
1520
+ "filePath": "cli.main.runtime.ts",
1521
+ "line": 48,
1522
+ "character": 3
1523
+ },
1524
+ "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 */",
1525
+ "comment": "helpful for having the same command name in different environments (e.g. legacy and non-legacy).\nfor example `cli.unregister('tag');` removes the \"bit tag\" command."
1526
+ },
1527
+ "signature": "(method) CLIMain.unregister(commandName: string): void",
1528
+ "name": "unregister",
1529
+ "params": [
1530
+ {
1531
+ "__schema": "ParameterSchema",
1532
+ "location": {
1533
+ "filePath": "cli.main.runtime.ts",
1534
+ "line": 52,
1535
+ "character": 14
1536
+ },
1537
+ "name": "commandName",
1538
+ "type": {
1539
+ "__schema": "KeywordTypeSchema",
1540
+ "location": {
1541
+ "filePath": "cli.main.runtime.ts",
1542
+ "line": 52,
1543
+ "character": 27
1544
+ },
1545
+ "name": "string"
1546
+ },
1547
+ "isOptional": false,
1548
+ "isSpread": false
1549
+ }
1550
+ ],
1551
+ "returnType": {
1552
+ "__schema": "InferenceTypeSchema",
1553
+ "location": {
1554
+ "filePath": "cli.main.runtime.ts",
1555
+ "line": 52,
1556
+ "character": 3
1557
+ },
1558
+ "type": "void"
1559
+ },
1560
+ "modifiers": []
1561
+ },
1562
+ {
1563
+ "__schema": "GetAccessorSchema",
1564
+ "location": {
1565
+ "filePath": "cli.main.runtime.ts",
1566
+ "line": 64,
1567
+ "character": 3
1568
+ },
1569
+ "signature": "(getter) CLIMain.commands: CommandList",
1570
+ "name": "commands",
1571
+ "type": {
1572
+ "__schema": "TypeRefSchema",
1573
+ "location": {
1574
+ "filePath": "cli.main.runtime.ts",
1575
+ "line": 64,
1576
+ "character": 3
1577
+ },
1578
+ "name": "CommandList"
1579
+ }
1580
+ },
1581
+ {
1582
+ "__schema": "FunctionLikeSchema",
1583
+ "location": {
1584
+ "filePath": "cli.main.runtime.ts",
1585
+ "line": 71,
1586
+ "character": 3
1587
+ },
1588
+ "doc": {
1589
+ "__schema": "DocSchema",
1590
+ "location": {
1591
+ "filePath": "cli.main.runtime.ts",
1592
+ "line": 68,
1593
+ "character": 3
1594
+ },
1595
+ "raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
1596
+ "comment": "get an instance of a registered command. (useful for aspects to modify and extend existing commands)"
1597
+ },
1598
+ "signature": "(method) CLIMain.getCommand(name: string): Command | undefined",
1599
+ "name": "getCommand",
1600
+ "params": [
1601
+ {
1602
+ "__schema": "ParameterSchema",
1603
+ "location": {
1604
+ "filePath": "cli.main.runtime.ts",
1605
+ "line": 71,
1606
+ "character": 14
1607
+ },
1608
+ "name": "name",
1609
+ "type": {
1610
+ "__schema": "KeywordTypeSchema",
1611
+ "location": {
1612
+ "filePath": "cli.main.runtime.ts",
1613
+ "line": 71,
1614
+ "character": 20
1615
+ },
1616
+ "name": "string"
1617
+ },
1618
+ "isOptional": false,
1619
+ "isSpread": false
1620
+ }
1621
+ ],
1622
+ "returnType": {
1623
+ "__schema": "TypeUnionSchema",
1624
+ "location": {
1625
+ "filePath": "cli.main.runtime.ts",
1626
+ "line": 71,
1627
+ "character": 29
1628
+ },
1629
+ "types": [
1630
+ {
1631
+ "__schema": "TypeRefSchema",
1632
+ "location": {
1633
+ "filePath": "cli.main.runtime.ts",
1634
+ "line": 71,
1635
+ "character": 29
1636
+ },
1637
+ "name": "Command"
1638
+ },
1639
+ {
1640
+ "__schema": "KeywordTypeSchema",
1641
+ "location": {
1642
+ "filePath": "cli.main.runtime.ts",
1643
+ "line": 71,
1644
+ "character": 39
1645
+ },
1646
+ "name": "undefined"
1647
+ }
1648
+ ]
1649
+ },
1650
+ "modifiers": []
1651
+ },
1652
+ {
1653
+ "__schema": "FunctionLikeSchema",
1654
+ "location": {
1655
+ "filePath": "cli.main.runtime.ts",
1656
+ "line": 81,
1657
+ "character": 3
1658
+ },
1659
+ "doc": {
1660
+ "__schema": "DocSchema",
1661
+ "location": {
1662
+ "filePath": "cli.main.runtime.ts",
1663
+ "line": 75,
1664
+ "character": 3
1665
+ },
1666
+ "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 */",
1667
+ "comment": "when running `bit help`, commands are grouped by categories.\nthis method helps registering a new group by providing its name and a description.\nthe name is what needs to be assigned to the `group` property of the Command interface.\nthe description is what shown in the `bit help` output."
1668
+ },
1669
+ "signature": "(method) CLIMain.registerGroup(name: string, description: string): void",
1670
+ "name": "registerGroup",
1671
+ "params": [
1672
+ {
1673
+ "__schema": "ParameterSchema",
1674
+ "location": {
1675
+ "filePath": "cli.main.runtime.ts",
1676
+ "line": 81,
1677
+ "character": 17
1678
+ },
1679
+ "name": "name",
1680
+ "type": {
1681
+ "__schema": "KeywordTypeSchema",
1682
+ "location": {
1683
+ "filePath": "cli.main.runtime.ts",
1684
+ "line": 81,
1685
+ "character": 23
1686
+ },
1687
+ "name": "string"
1688
+ },
1689
+ "isOptional": false,
1690
+ "isSpread": false
1691
+ },
1692
+ {
1693
+ "__schema": "ParameterSchema",
1694
+ "location": {
1695
+ "filePath": "cli.main.runtime.ts",
1696
+ "line": 81,
1697
+ "character": 31
1698
+ },
1699
+ "name": "description",
1700
+ "type": {
1701
+ "__schema": "KeywordTypeSchema",
1702
+ "location": {
1703
+ "filePath": "cli.main.runtime.ts",
1704
+ "line": 81,
1705
+ "character": 44
1706
+ },
1707
+ "name": "string"
1708
+ },
1709
+ "isOptional": false,
1710
+ "isSpread": false
1711
+ }
1712
+ ],
1713
+ "returnType": {
1714
+ "__schema": "InferenceTypeSchema",
1715
+ "location": {
1716
+ "filePath": "cli.main.runtime.ts",
1717
+ "line": 81,
1718
+ "character": 3
1719
+ },
1720
+ "type": "void"
1721
+ },
1722
+ "modifiers": []
1723
+ },
1724
+ {
1725
+ "__schema": "FunctionLikeSchema",
1726
+ "location": {
1727
+ "filePath": "cli.main.runtime.ts",
1728
+ "line": 89,
1729
+ "character": 3
1730
+ },
1731
+ "signature": "(method) CLIMain.registerOnStart(onStartFn: OnStart): this",
1732
+ "name": "registerOnStart",
1733
+ "params": [
1734
+ {
1735
+ "__schema": "ParameterSchema",
1736
+ "location": {
1737
+ "filePath": "cli.main.runtime.ts",
1738
+ "line": 89,
1739
+ "character": 19
1740
+ },
1741
+ "name": "onStartFn",
1742
+ "type": {
1743
+ "__schema": "TypeRefSchema",
1744
+ "location": {
1745
+ "filePath": "cli.main.runtime.ts",
1746
+ "line": 89,
1747
+ "character": 30
1748
+ },
1749
+ "name": "OnStart"
1750
+ },
1751
+ "isOptional": false,
1752
+ "isSpread": false
1753
+ }
1754
+ ],
1755
+ "returnType": {
1756
+ "__schema": "TypeRefSchema",
1757
+ "location": {
1758
+ "filePath": "cli.main.runtime.ts",
1759
+ "line": 89,
1760
+ "character": 3
1761
+ },
1762
+ "name": "CLIMain"
1763
+ },
1764
+ "modifiers": []
1765
+ },
1766
+ {
1767
+ "__schema": "FunctionLikeSchema",
1768
+ "location": {
1769
+ "filePath": "cli.main.runtime.ts",
1770
+ "line": 109,
1771
+ "character": 3
1772
+ },
1773
+ "doc": {
1774
+ "__schema": "DocSchema",
1775
+ "location": {
1776
+ "filePath": "cli.main.runtime.ts",
1777
+ "line": 94,
1778
+ "character": 3
1779
+ },
1780
+ "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 */",
1781
+ "comment": "This will register a function to be called before the process exits.\nThis will run only for \"regular\" exits\ne.g.\nyes - command run and finished successfully\nyes - command run and failed gracefully (code 1)\nnot SIGKILL (kill -9)\nnot SIGINT (Ctrl+C)\nnot SIGTERM (kill)\nnot uncaughtException\nnot unhandledRejection",
1782
+ "tags": [
1783
+ {
1784
+ "__schema": "PropertyLikeTagSchema",
1785
+ "location": {
1786
+ "filePath": "cli.main.runtime.ts",
1787
+ "line": 106,
1788
+ "character": 6
1789
+ },
1790
+ "name": "onBeforeExitFn",
1791
+ "tagName": "parameter"
1792
+ },
1793
+ {
1794
+ "__schema": "ReturnTagSchema",
1795
+ "location": {
1796
+ "filePath": "cli.main.runtime.ts",
1797
+ "line": 107,
1798
+ "character": 6
1799
+ },
1800
+ "tagName": "return"
1801
+ }
1802
+ ]
1803
+ },
1804
+ "signature": "(method) CLIMain.registerOnBeforeExit(onBeforeExitFn: OnBeforeExitFn): this",
1805
+ "name": "registerOnBeforeExit",
1806
+ "params": [
1807
+ {
1808
+ "__schema": "ParameterSchema",
1809
+ "location": {
1810
+ "filePath": "cli.main.runtime.ts",
1811
+ "line": 109,
1812
+ "character": 24
1813
+ },
1814
+ "name": "onBeforeExitFn",
1815
+ "type": {
1816
+ "__schema": "TypeRefSchema",
1817
+ "location": {
1818
+ "filePath": "cli.main.runtime.ts",
1819
+ "line": 109,
1820
+ "character": 40
1821
+ },
1822
+ "name": "OnBeforeExitFn"
1823
+ },
1824
+ "isOptional": false,
1825
+ "isSpread": false
1826
+ }
1827
+ ],
1828
+ "returnType": {
1829
+ "__schema": "TypeRefSchema",
1830
+ "location": {
1831
+ "filePath": "cli.main.runtime.ts",
1832
+ "line": 109,
1833
+ "character": 3
1834
+ },
1835
+ "name": "CLIMain"
1836
+ },
1837
+ "modifiers": []
1838
+ },
1839
+ {
1840
+ "__schema": "FunctionLikeSchema",
1841
+ "location": {
1842
+ "filePath": "cli.main.runtime.ts",
1843
+ "line": 118,
1844
+ "character": 3
1845
+ },
1846
+ "doc": {
1847
+ "__schema": "DocSchema",
1848
+ "location": {
1849
+ "filePath": "cli.main.runtime.ts",
1850
+ "line": 115,
1851
+ "character": 3
1852
+ },
1853
+ "raw": "/**\n * execute commands registered to this aspect.\n */",
1854
+ "comment": "execute commands registered to this aspect."
1855
+ },
1856
+ "signature": "(method) CLIMain.run(hasWorkspace: boolean): Promise<void>",
1857
+ "name": "run",
1858
+ "params": [
1859
+ {
1860
+ "__schema": "ParameterSchema",
1861
+ "location": {
1862
+ "filePath": "cli.main.runtime.ts",
1863
+ "line": 118,
1864
+ "character": 13
1865
+ },
1866
+ "name": "hasWorkspace",
1867
+ "type": {
1868
+ "__schema": "KeywordTypeSchema",
1869
+ "location": {
1870
+ "filePath": "cli.main.runtime.ts",
1871
+ "line": 118,
1872
+ "character": 27
1873
+ },
1874
+ "name": "boolean"
1875
+ },
1876
+ "isOptional": false,
1877
+ "isSpread": false
1878
+ }
1879
+ ],
1880
+ "returnType": {
1881
+ "__schema": "InferenceTypeSchema",
1882
+ "location": {
1883
+ "filePath": "cli.main.runtime.ts",
1884
+ "line": 118,
1885
+ "character": 3
1886
+ },
1887
+ "type": "Promise<void>"
1888
+ },
1889
+ "modifiers": [
1890
+ "async"
1891
+ ]
1892
+ },
1893
+ {
1894
+ "__schema": "VariableLikeSchema",
1895
+ "location": {
1896
+ "filePath": "cli.main.runtime.ts",
1897
+ "line": 147,
1898
+ "character": 3
1899
+ },
1900
+ "signature": "(property) CLIMain.dependencies: Aspect[]",
1901
+ "name": "dependencies",
1902
+ "type": {
1903
+ "__schema": "InferenceTypeSchema",
1904
+ "location": {
1905
+ "filePath": "cli.main.runtime.ts",
1906
+ "line": 147,
1907
+ "character": 3
1908
+ },
1909
+ "type": "Aspect[]"
1910
+ },
1911
+ "isOptional": true,
1912
+ "defaultValue": "[LoggerAspect]"
1913
+ },
1914
+ {
1915
+ "__schema": "VariableLikeSchema",
1916
+ "location": {
1917
+ "filePath": "cli.main.runtime.ts",
1918
+ "line": 148,
1919
+ "character": 3
1920
+ },
1921
+ "signature": "(property) CLIMain.runtime: RuntimeDefinition",
1922
+ "name": "runtime",
1923
+ "type": {
1924
+ "__schema": "InferenceTypeSchema",
1925
+ "location": {
1926
+ "filePath": "cli.main.runtime.ts",
1927
+ "line": 148,
1928
+ "character": 3
1929
+ },
1930
+ "type": "RuntimeDefinition"
1931
+ },
1932
+ "isOptional": true,
1933
+ "defaultValue": "MainRuntime"
1934
+ },
1935
+ {
1936
+ "__schema": "VariableLikeSchema",
1937
+ "location": {
1938
+ "filePath": "cli.main.runtime.ts",
1939
+ "line": 149,
1940
+ "character": 3
1941
+ },
1942
+ "signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>))[]",
1943
+ "name": "slots",
1944
+ "type": {
1945
+ "__schema": "InferenceTypeSchema",
1946
+ "location": {
1947
+ "filePath": "cli.main.runtime.ts",
1948
+ "line": 149,
1949
+ "character": 3
1950
+ },
1951
+ "type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>))[]"
1952
+ },
1953
+ "isOptional": true,
1954
+ "defaultValue": "[Slot.withType<CommandList>(), Slot.withType<OnStart>(), Slot.withType<OnBeforeExitFn>()]"
1955
+ },
1956
+ {
1957
+ "__schema": "FunctionLikeSchema",
1958
+ "location": {
1959
+ "filePath": "cli.main.runtime.ts",
1960
+ "line": 151,
1961
+ "character": 3
1962
+ },
1963
+ "signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onBeforeExitSlot]: [CommandsSlot, OnStartSlot, OnBeforeExitSlot]): Promise<CLIMain>",
1964
+ "name": "provider",
1965
+ "params": [
1966
+ {
1967
+ "__schema": "ParameterSchema",
1968
+ "location": {
1969
+ "filePath": "cli.main.runtime.ts",
1970
+ "line": 152,
1971
+ "character": 5
1972
+ },
1973
+ "name": "[ loggerMain ]",
1974
+ "type": {
1975
+ "__schema": "TupleTypeSchema",
1976
+ "location": {
1977
+ "filePath": "cli.main.runtime.ts",
1978
+ "line": 152,
1979
+ "character": 19
1980
+ },
1981
+ "elements": [
1982
+ {
1983
+ "__schema": "TypeRefSchema",
1984
+ "location": {
1985
+ "filePath": "cli.main.runtime.ts",
1986
+ "line": 152,
1987
+ "character": 20
1988
+ },
1989
+ "name": "LoggerMain"
1990
+ }
1991
+ ]
1992
+ },
1993
+ "isOptional": false,
1994
+ "isSpread": false
1995
+ },
1996
+ {
1997
+ "__schema": "ParameterSchema",
1998
+ "location": {
1999
+ "filePath": "cli.main.runtime.ts",
2000
+ "line": 153,
2001
+ "character": 5
2002
+ },
2003
+ "name": "config",
2004
+ "type": {
2005
+ "__schema": "InferenceTypeSchema",
2006
+ "location": {
2007
+ "filePath": "cli.main.runtime.ts",
2008
+ "line": 153,
2009
+ "character": 5
2010
+ },
2011
+ "type": "any"
2012
+ },
2013
+ "isOptional": false,
2014
+ "isSpread": false
2015
+ },
2016
+ {
2017
+ "__schema": "ParameterSchema",
2018
+ "location": {
2019
+ "filePath": "cli.main.runtime.ts",
2020
+ "line": 154,
2021
+ "character": 5
2022
+ },
2023
+ "name": "[ commandsSlot, onStartSlot, onBeforeExitSlot ]",
2024
+ "type": {
2025
+ "__schema": "TupleTypeSchema",
2026
+ "location": {
2027
+ "filePath": "cli.main.runtime.ts",
2028
+ "line": 154,
2029
+ "character": 52
2030
+ },
2031
+ "elements": [
2032
+ {
2033
+ "__schema": "TypeRefSchema",
2034
+ "location": {
2035
+ "filePath": "cli.main.runtime.ts",
2036
+ "line": 154,
2037
+ "character": 53
2038
+ },
2039
+ "name": "CommandsSlot"
2040
+ },
2041
+ {
2042
+ "__schema": "TypeRefSchema",
2043
+ "location": {
2044
+ "filePath": "cli.main.runtime.ts",
2045
+ "line": 154,
2046
+ "character": 67
2047
+ },
2048
+ "name": "OnStartSlot"
2049
+ },
2050
+ {
2051
+ "__schema": "TypeRefSchema",
2052
+ "location": {
2053
+ "filePath": "cli.main.runtime.ts",
2054
+ "line": 154,
2055
+ "character": 80
2056
+ },
2057
+ "name": "OnBeforeExitSlot"
2058
+ }
2059
+ ]
2060
+ },
2061
+ "isOptional": false,
2062
+ "isSpread": false
2063
+ }
2064
+ ],
2065
+ "returnType": {
2066
+ "__schema": "InferenceTypeSchema",
2067
+ "location": {
2068
+ "filePath": "cli.main.runtime.ts",
2069
+ "line": 151,
2070
+ "character": 3
2071
+ },
2072
+ "type": "Promise<CLIMain>"
2073
+ },
2074
+ "modifiers": [
2075
+ "static",
2076
+ "async"
2077
+ ]
2078
+ }
2079
+ ],
2080
+ "extendsNodes": [],
2081
+ "implementNodes": []
2082
+ }
2083
+ ],
2084
+ "internals": [
2085
+ {
2086
+ "__schema": "UnImplementedSchema",
2087
+ "location": {
2088
+ "filePath": "cli.main.runtime.ts",
2089
+ "line": 171,
2090
+ "character": 1
2091
+ },
2092
+ "name": "CLIAspect.addRuntime(CLIMain);",
2093
+ "type": "ExpressionStatement"
2094
+ },
2095
+ {
2096
+ "__schema": "FunctionLikeSchema",
2097
+ "location": {
2098
+ "filePath": "cli.main.runtime.ts",
2099
+ "line": 179,
2100
+ "character": 1
2101
+ },
2102
+ "doc": {
2103
+ "__schema": "DocSchema",
2104
+ "location": {
2105
+ "filePath": "cli.main.runtime.ts",
2106
+ "line": 173,
2107
+ "character": 1
2108
+ },
2109
+ "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 */",
2110
+ "comment": "kind of a hack.\nin the legacy, this is running at the beginning and it take care of issues when Bit files are missing,\nsuch as \".bit\".\n(to make this process better, you can easily remove it and run the e2e-tests. you'll see some failing)"
2111
+ },
2112
+ "signature": "function ensureWorkspaceAndScope(): Promise<void>",
2113
+ "name": "ensureWorkspaceAndScope",
2114
+ "params": [],
2115
+ "returnType": {
2116
+ "__schema": "InferenceTypeSchema",
2117
+ "location": {
2118
+ "filePath": "cli.main.runtime.ts",
2119
+ "line": 179,
2120
+ "character": 1
2121
+ },
2122
+ "type": "Promise<void>"
2123
+ },
2124
+ "modifiers": [
2125
+ "async"
2126
+ ]
2127
+ },
2128
+ {
2129
+ "__schema": "FunctionLikeSchema",
2130
+ "location": {
2131
+ "filePath": "cli.main.runtime.ts",
2132
+ "line": 187,
2133
+ "character": 1
2134
+ },
2135
+ "signature": "function isFullUrl(url: string): boolean",
2136
+ "name": "isFullUrl",
2137
+ "params": [
2138
+ {
2139
+ "__schema": "ParameterSchema",
2140
+ "location": {
2141
+ "filePath": "cli.main.runtime.ts",
2142
+ "line": 187,
2143
+ "character": 20
2144
+ },
2145
+ "name": "url",
2146
+ "type": {
2147
+ "__schema": "KeywordTypeSchema",
2148
+ "location": {
2149
+ "filePath": "cli.main.runtime.ts",
2150
+ "line": 187,
2151
+ "character": 25
2152
+ },
2153
+ "name": "string"
2154
+ },
2155
+ "isOptional": false,
2156
+ "isSpread": false
2157
+ }
2158
+ ],
2159
+ "returnType": {
2160
+ "__schema": "TypeRefSchema",
2161
+ "location": {
2162
+ "filePath": "cli.main.runtime.ts",
2163
+ "line": 187,
2164
+ "character": 1
2165
+ },
2166
+ "name": "isFullUrl",
2167
+ "internalFilePath": "cli.main.runtime.ts"
2168
+ },
2169
+ "modifiers": []
2170
+ }
2171
+ ]
2172
+ },
2173
+ {
2174
+ "__schema": "ModuleSchema",
2175
+ "location": {
2176
+ "filePath": "cli.aspect.ts",
2177
+ "line": 1,
2178
+ "character": 1
2179
+ },
2180
+ "exports": [
2181
+ {
2182
+ "__schema": "VariableLikeSchema",
2183
+ "location": {
2184
+ "filePath": "cli.aspect.ts",
2185
+ "line": 3,
2186
+ "character": 14
2187
+ },
2188
+ "signature": "const MainRuntime: RuntimeDefinition",
2189
+ "name": "MainRuntime",
2190
+ "type": {
2191
+ "__schema": "TypeRefSchema",
2192
+ "location": {
2193
+ "filePath": "cli.aspect.ts",
2194
+ "line": 3,
2195
+ "character": 14
2196
+ },
2197
+ "name": "RuntimeDefinition",
2198
+ "componentId": {
2199
+ "scope": "teambit.harmony",
2200
+ "name": "harmony",
2201
+ "version": "0.4.6"
2202
+ }
2203
+ },
2204
+ "isOptional": false,
2205
+ "defaultValue": "new RuntimeDefinition('main')"
2206
+ },
2207
+ {
2208
+ "__schema": "VariableLikeSchema",
2209
+ "location": {
2210
+ "filePath": "cli.aspect.ts",
2211
+ "line": 5,
2212
+ "character": 14
2213
+ },
2214
+ "signature": "const CLIAspect: Aspect",
2215
+ "name": "CLIAspect",
2216
+ "type": {
2217
+ "__schema": "TypeRefSchema",
2218
+ "location": {
2219
+ "filePath": "cli.aspect.ts",
2220
+ "line": 5,
2221
+ "character": 14
2222
+ },
2223
+ "name": "Aspect",
2224
+ "componentId": {
2225
+ "scope": "teambit.harmony",
2226
+ "name": "harmony",
2227
+ "version": "0.4.6"
2228
+ }
2229
+ },
2230
+ "isOptional": false,
2231
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
2232
+ },
2233
+ {
2234
+ "__schema": "UnImplementedSchema",
2235
+ "location": {
2236
+ "filePath": "cli.aspect.ts",
2237
+ "line": 11,
2238
+ "character": 16
2239
+ },
2240
+ "name": "CLIAspect",
2241
+ "type": "Identifier"
2242
+ }
2243
+ ],
2244
+ "internals": []
2245
+ }
2246
+ ],
2247
+ "componentId": {
2248
+ "scope": "teambit.harmony",
2249
+ "name": "cli",
2250
+ "version": "0.0.851"
2251
+ },
2252
+ "taggedModuleExports": []
2253
+ }