@teambit/harmony.content.cli-reference 1.95.31 → 1.95.34
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/cli-reference.json +225 -113
- package/cli-reference.mdx +47 -77
- package/dist/cli-reference.json +225 -113
- package/dist/cli-reference.mdx.js +50 -166
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.34.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1655436530187.js → preview-1656041300679.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.31.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -65,52 +65,6 @@
|
|
|
65
65
|
"private": false,
|
|
66
66
|
"skipWorkspace": true
|
|
67
67
|
},
|
|
68
|
-
{
|
|
69
|
-
"name": "list [remote-scope]",
|
|
70
|
-
"alias": "ls",
|
|
71
|
-
"options": [
|
|
72
|
-
[
|
|
73
|
-
"i",
|
|
74
|
-
"ids",
|
|
75
|
-
"show only component ids unformatted"
|
|
76
|
-
],
|
|
77
|
-
[
|
|
78
|
-
"s",
|
|
79
|
-
"scope",
|
|
80
|
-
"show only components stored in the local scope, including indirect dependencies"
|
|
81
|
-
],
|
|
82
|
-
[
|
|
83
|
-
"b",
|
|
84
|
-
"bare",
|
|
85
|
-
"DEPRECATED. use --raw instead"
|
|
86
|
-
],
|
|
87
|
-
[
|
|
88
|
-
"r",
|
|
89
|
-
"raw",
|
|
90
|
-
"show raw output (only components ids, no styling)"
|
|
91
|
-
],
|
|
92
|
-
[
|
|
93
|
-
"o",
|
|
94
|
-
"outdated",
|
|
95
|
-
"show latest versions from remotes"
|
|
96
|
-
],
|
|
97
|
-
[
|
|
98
|
-
"j",
|
|
99
|
-
"json",
|
|
100
|
-
"show the output in JSON format"
|
|
101
|
-
],
|
|
102
|
-
[
|
|
103
|
-
"n",
|
|
104
|
-
"namespace <string>",
|
|
105
|
-
"show only specified namespace by using wildcards"
|
|
106
|
-
]
|
|
107
|
-
],
|
|
108
|
-
"description": "list components on a workspace, local scope or a remote scope.",
|
|
109
|
-
"extendedDescription": "https://bit.dev/docs/reference/cli-reference#list",
|
|
110
|
-
"group": "discover",
|
|
111
|
-
"private": false,
|
|
112
|
-
"skipWorkspace": true
|
|
113
|
-
},
|
|
114
68
|
{
|
|
115
69
|
"name": "config",
|
|
116
70
|
"alias": "",
|
|
@@ -268,6 +222,11 @@
|
|
|
268
222
|
"name": "dependencies <id>",
|
|
269
223
|
"alias": "",
|
|
270
224
|
"options": [
|
|
225
|
+
[
|
|
226
|
+
"t",
|
|
227
|
+
"tree",
|
|
228
|
+
"render dependencies as a tree, similar to \"npm ls\""
|
|
229
|
+
],
|
|
271
230
|
[
|
|
272
231
|
"d",
|
|
273
232
|
"debug",
|
|
@@ -518,7 +477,7 @@
|
|
|
518
477
|
[
|
|
519
478
|
"t",
|
|
520
479
|
"tests <file>/\"<file>,<file>\"",
|
|
521
|
-
"specify test files to track. use quotation marks to list files or use a glob pattern"
|
|
480
|
+
"LEGACY ONLY. specify test files to track. use quotation marks to list files or use a glob pattern"
|
|
522
481
|
],
|
|
523
482
|
[
|
|
524
483
|
"n",
|
|
@@ -528,7 +487,7 @@
|
|
|
528
487
|
[
|
|
529
488
|
"e",
|
|
530
489
|
"exclude <file>/\"<file>,<file>\"",
|
|
531
|
-
"exclude file from being tracked. use quotation marks to list files or use a glob pattern"
|
|
490
|
+
"LEGACY ONLY. exclude file from being tracked. use quotation marks to list files or use a glob pattern"
|
|
532
491
|
],
|
|
533
492
|
[
|
|
534
493
|
"o",
|
|
@@ -562,7 +521,7 @@
|
|
|
562
521
|
"private": true
|
|
563
522
|
},
|
|
564
523
|
{
|
|
565
|
-
"name": "untag [
|
|
524
|
+
"name": "untag [component-name] [component-version]",
|
|
566
525
|
"alias": "",
|
|
567
526
|
"options": [
|
|
568
527
|
[
|
|
@@ -581,19 +540,19 @@
|
|
|
581
540
|
"revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt"
|
|
582
541
|
]
|
|
583
542
|
],
|
|
584
|
-
"description": "revert versions
|
|
543
|
+
"description": "revert tagged or snapped versions for component(s)",
|
|
585
544
|
"extendedDescription": "https://bit.dev/docs/components/tags#undoing-a-tag\nyou can use a pattern for multiple ids, such as bit untag \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
586
545
|
"group": "development",
|
|
587
546
|
"private": false
|
|
588
547
|
},
|
|
589
548
|
{
|
|
590
|
-
"name": "move <
|
|
549
|
+
"name": "move <current-component-dir> <new-component-dir>",
|
|
591
550
|
"alias": "mv",
|
|
592
551
|
"options": [
|
|
593
552
|
[
|
|
594
553
|
"c",
|
|
595
554
|
"component",
|
|
596
|
-
"move component files that are spread over multiple directories to one directory. synopsis: `move <component-id> <directory>`"
|
|
555
|
+
"LEGACY ONLY. move component files that are spread over multiple directories to one directory. synopsis: `move <component-id> <directory>`"
|
|
597
556
|
]
|
|
598
557
|
],
|
|
599
558
|
"description": "move a component to a different filesystem path",
|
|
@@ -602,7 +561,7 @@
|
|
|
602
561
|
"private": false
|
|
603
562
|
},
|
|
604
563
|
{
|
|
605
|
-
"name": "remove <ids...>",
|
|
564
|
+
"name": "remove <component-ids...>",
|
|
606
565
|
"alias": "rm",
|
|
607
566
|
"options": [
|
|
608
567
|
[
|
|
@@ -613,7 +572,7 @@
|
|
|
613
572
|
[
|
|
614
573
|
"t",
|
|
615
574
|
"track",
|
|
616
|
-
"keep tracking component (default = false)"
|
|
575
|
+
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
617
576
|
],
|
|
618
577
|
[
|
|
619
578
|
"d",
|
|
@@ -636,7 +595,7 @@
|
|
|
636
595
|
"skip confirmation"
|
|
637
596
|
]
|
|
638
597
|
],
|
|
639
|
-
"description": "remove component(s) from
|
|
598
|
+
"description": "remove component(s) from the workspace, or a remote scope",
|
|
640
599
|
"extendedDescription": "https://bit.dev/docs/components/removing-components\nyou can use a pattern for multiple ids, such as bit remove \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
641
600
|
"group": "collaborate",
|
|
642
601
|
"private": false,
|
|
@@ -767,7 +726,7 @@
|
|
|
767
726
|
"show tables instead of plain text for dependencies diff"
|
|
768
727
|
]
|
|
769
728
|
],
|
|
770
|
-
"description": "show diff between components files",
|
|
729
|
+
"description": "show the diff between the components' source files and config",
|
|
771
730
|
"extendedDescription": "bit diff => compare all modified components to their model version\n bit diff [ids...] => compare the specified components against their modified states\n bit diff [id] [version] => compare the specified version to used or modified files\n bit diff [id] [version] [to_version] => compare the specified version files to to_version files\n you can use a pattern for multiple ids, such as bit diff \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
772
731
|
"group": "development",
|
|
773
732
|
"private": false
|
|
@@ -798,11 +757,11 @@
|
|
|
798
757
|
],
|
|
799
758
|
[
|
|
800
759
|
"",
|
|
801
|
-
"machine-name <
|
|
760
|
+
"machine-name <name>",
|
|
802
761
|
"specify machine-name to pair with the token (useful for CI to avoid accidentally revoke the token)"
|
|
803
762
|
]
|
|
804
763
|
],
|
|
805
|
-
"description": "log
|
|
764
|
+
"description": "log in to Bit cloud",
|
|
806
765
|
"extendedDescription": "",
|
|
807
766
|
"group": "general",
|
|
808
767
|
"private": false,
|
|
@@ -1048,21 +1007,6 @@
|
|
|
1048
1007
|
}
|
|
1049
1008
|
]
|
|
1050
1009
|
},
|
|
1051
|
-
{
|
|
1052
|
-
"name": "globals",
|
|
1053
|
-
"alias": "",
|
|
1054
|
-
"options": [
|
|
1055
|
-
[
|
|
1056
|
-
"j",
|
|
1057
|
-
"json",
|
|
1058
|
-
"json format"
|
|
1059
|
-
]
|
|
1060
|
-
],
|
|
1061
|
-
"description": "list all globals",
|
|
1062
|
-
"extendedDescription": "",
|
|
1063
|
-
"group": "workspace",
|
|
1064
|
-
"private": false
|
|
1065
|
-
},
|
|
1066
1010
|
{
|
|
1067
1011
|
"name": "envs",
|
|
1068
1012
|
"alias": "env",
|
|
@@ -1163,6 +1107,21 @@
|
|
|
1163
1107
|
}
|
|
1164
1108
|
]
|
|
1165
1109
|
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "globals",
|
|
1112
|
+
"alias": "",
|
|
1113
|
+
"options": [
|
|
1114
|
+
[
|
|
1115
|
+
"j",
|
|
1116
|
+
"json",
|
|
1117
|
+
"json format"
|
|
1118
|
+
]
|
|
1119
|
+
],
|
|
1120
|
+
"description": "list all globals",
|
|
1121
|
+
"extendedDescription": "",
|
|
1122
|
+
"group": "workspace",
|
|
1123
|
+
"private": false
|
|
1124
|
+
},
|
|
1166
1125
|
{
|
|
1167
1126
|
"name": "start [type] [pattern]",
|
|
1168
1127
|
"alias": "c",
|
|
@@ -1311,7 +1270,13 @@
|
|
|
1311
1270
|
"description": "installs workspace dependencies",
|
|
1312
1271
|
"extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
|
|
1313
1272
|
"group": "development",
|
|
1314
|
-
"private": false
|
|
1273
|
+
"private": false,
|
|
1274
|
+
"arguments": [
|
|
1275
|
+
{
|
|
1276
|
+
"name": "packages...",
|
|
1277
|
+
"description": "a list of packages to install (separated by spaces)"
|
|
1278
|
+
}
|
|
1279
|
+
]
|
|
1315
1280
|
},
|
|
1316
1281
|
{
|
|
1317
1282
|
"name": "update",
|
|
@@ -1362,7 +1327,7 @@
|
|
|
1362
1327
|
"alias": "",
|
|
1363
1328
|
"options": [],
|
|
1364
1329
|
"description": "manage capsules",
|
|
1365
|
-
"extendedDescription": "a capsule is a directory
|
|
1330
|
+
"extendedDescription": "a capsule is a directory containing the component code, isolated from the workspace.\nnormally, capsules are created during the build process, the component files are copied and the packages are installed\nvia the configured package-manager. the purpose is to compile/test them in isolation to make sure they will work for\nother users after publishing/exporting them.",
|
|
1366
1331
|
"group": "capsules",
|
|
1367
1332
|
"private": false,
|
|
1368
1333
|
"commands": [
|
|
@@ -1376,13 +1341,13 @@
|
|
|
1376
1341
|
"json format"
|
|
1377
1342
|
]
|
|
1378
1343
|
],
|
|
1379
|
-
"description": "list
|
|
1344
|
+
"description": "list the capsules generated for this workspace",
|
|
1380
1345
|
"extendedDescription": "",
|
|
1381
1346
|
"group": "capsules",
|
|
1382
1347
|
"private": false
|
|
1383
1348
|
},
|
|
1384
1349
|
{
|
|
1385
|
-
"name": "create [
|
|
1350
|
+
"name": "create [component-id...]",
|
|
1386
1351
|
"alias": "",
|
|
1387
1352
|
"options": [
|
|
1388
1353
|
[
|
|
@@ -1426,7 +1391,7 @@
|
|
|
1426
1391
|
"npm, yarn or pnpm, default to npm"
|
|
1427
1392
|
]
|
|
1428
1393
|
],
|
|
1429
|
-
"description": "create capsules",
|
|
1394
|
+
"description": "create capsules for components",
|
|
1430
1395
|
"extendedDescription": "",
|
|
1431
1396
|
"group": "capsules",
|
|
1432
1397
|
"private": false
|
|
@@ -1460,7 +1425,7 @@
|
|
|
1460
1425
|
[
|
|
1461
1426
|
"v",
|
|
1462
1427
|
"verbose",
|
|
1463
|
-
"
|
|
1428
|
+
"show npm verbose output for inspection and print the stack trace"
|
|
1464
1429
|
],
|
|
1465
1430
|
[
|
|
1466
1431
|
"",
|
|
@@ -1473,13 +1438,13 @@
|
|
|
1473
1438
|
"EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
|
|
1474
1439
|
]
|
|
1475
1440
|
],
|
|
1476
|
-
"description": "
|
|
1441
|
+
"description": "automatically recompile modified components (on save)",
|
|
1477
1442
|
"extendedDescription": "",
|
|
1478
1443
|
"group": "development",
|
|
1479
1444
|
"private": false
|
|
1480
1445
|
},
|
|
1481
1446
|
{
|
|
1482
|
-
"name": "link [
|
|
1447
|
+
"name": "link [component-names...]",
|
|
1483
1448
|
"alias": "",
|
|
1484
1449
|
"options": [
|
|
1485
1450
|
[
|
|
@@ -1508,10 +1473,16 @@
|
|
|
1508
1473
|
"skip fetch missing objects from remotes before linking"
|
|
1509
1474
|
]
|
|
1510
1475
|
],
|
|
1511
|
-
"description": "
|
|
1476
|
+
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
1512
1477
|
"extendedDescription": "https://bit.dev/docs/workspace/component-links",
|
|
1513
1478
|
"group": "development",
|
|
1514
|
-
"private": false
|
|
1479
|
+
"private": false,
|
|
1480
|
+
"arguments": [
|
|
1481
|
+
{
|
|
1482
|
+
"name": "component-names...",
|
|
1483
|
+
"description": "names or IDs of the components to link"
|
|
1484
|
+
}
|
|
1485
|
+
]
|
|
1515
1486
|
},
|
|
1516
1487
|
{
|
|
1517
1488
|
"name": "pattern <pattern>",
|
|
@@ -1528,6 +1499,43 @@
|
|
|
1528
1499
|
"group": "development",
|
|
1529
1500
|
"private": false
|
|
1530
1501
|
},
|
|
1502
|
+
{
|
|
1503
|
+
"name": "list [remote-scope]",
|
|
1504
|
+
"alias": "ls",
|
|
1505
|
+
"options": [
|
|
1506
|
+
[
|
|
1507
|
+
"i",
|
|
1508
|
+
"ids",
|
|
1509
|
+
"show only component ids unformatted"
|
|
1510
|
+
],
|
|
1511
|
+
[
|
|
1512
|
+
"s",
|
|
1513
|
+
"scope",
|
|
1514
|
+
"show only components stored in the local scope, including indirect dependencies"
|
|
1515
|
+
],
|
|
1516
|
+
[
|
|
1517
|
+
"o",
|
|
1518
|
+
"outdated",
|
|
1519
|
+
"show latest versions from remotes"
|
|
1520
|
+
],
|
|
1521
|
+
[
|
|
1522
|
+
"j",
|
|
1523
|
+
"json",
|
|
1524
|
+
"show the output in JSON format"
|
|
1525
|
+
],
|
|
1526
|
+
[
|
|
1527
|
+
"n",
|
|
1528
|
+
"namespace <string>",
|
|
1529
|
+
"show only specified namespace by using wildcards"
|
|
1530
|
+
]
|
|
1531
|
+
],
|
|
1532
|
+
"description": "list components on a workspace, local scope or a remote scope.",
|
|
1533
|
+
"extendedDescription": "https://bit.dev/docs/reference/cli-reference#list",
|
|
1534
|
+
"group": "discover",
|
|
1535
|
+
"private": false,
|
|
1536
|
+
"remoteOp": true,
|
|
1537
|
+
"skipWorkspace": true
|
|
1538
|
+
},
|
|
1531
1539
|
{
|
|
1532
1540
|
"name": "import [component-ids...]",
|
|
1533
1541
|
"alias": "",
|
|
@@ -1649,6 +1657,16 @@
|
|
|
1649
1657
|
"extendedDescription": "",
|
|
1650
1658
|
"group": "development",
|
|
1651
1659
|
"private": false,
|
|
1660
|
+
"arguments": [
|
|
1661
|
+
{
|
|
1662
|
+
"name": "template-name",
|
|
1663
|
+
"description": "the template for generating the component \n(run 'bit templates' for a list of available templates)"
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"name": "component-names...",
|
|
1667
|
+
"description": "a list of component names to generate"
|
|
1668
|
+
}
|
|
1669
|
+
],
|
|
1652
1670
|
"examples": [
|
|
1653
1671
|
{
|
|
1654
1672
|
"cmd": "bit create react ui/button",
|
|
@@ -1930,7 +1948,7 @@
|
|
|
1930
1948
|
"private": true
|
|
1931
1949
|
},
|
|
1932
1950
|
{
|
|
1933
|
-
"name": "tag [patterns...]",
|
|
1951
|
+
"name": "tag [component-patterns...]",
|
|
1934
1952
|
"alias": "t",
|
|
1935
1953
|
"options": [
|
|
1936
1954
|
[
|
|
@@ -2066,8 +2084,8 @@
|
|
|
2066
2084
|
"remoteOp": true,
|
|
2067
2085
|
"arguments": [
|
|
2068
2086
|
{
|
|
2069
|
-
"name": "patterns...",
|
|
2070
|
-
"description": "a list of patterns (separated by space). run \"bit pattern --help\" to get more data about patterns. By default, all modified are tagged."
|
|
2087
|
+
"name": "component-patterns...",
|
|
2088
|
+
"description": "a list of component names, IDs or patterns (separated by space). run \"bit pattern --help\" to get more data about patterns. By default, all modified are tagged."
|
|
2071
2089
|
}
|
|
2072
2090
|
],
|
|
2073
2091
|
"examples": [
|
|
@@ -2433,12 +2451,18 @@
|
|
|
2433
2451
|
]
|
|
2434
2452
|
],
|
|
2435
2453
|
"description": "list all aspects configured on component(s)",
|
|
2436
|
-
"extendedDescription": "
|
|
2454
|
+
"extendedDescription": "",
|
|
2437
2455
|
"group": "development",
|
|
2438
|
-
"private": false
|
|
2456
|
+
"private": false,
|
|
2457
|
+
"arguments": [
|
|
2458
|
+
{
|
|
2459
|
+
"name": "pattern",
|
|
2460
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components. \nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2461
|
+
}
|
|
2462
|
+
]
|
|
2439
2463
|
},
|
|
2440
2464
|
{
|
|
2441
|
-
"name": "get <component-
|
|
2465
|
+
"name": "get <component-name>",
|
|
2442
2466
|
"alias": "",
|
|
2443
2467
|
"options": [
|
|
2444
2468
|
[
|
|
@@ -2452,37 +2476,87 @@
|
|
|
2452
2476
|
"format as json"
|
|
2453
2477
|
]
|
|
2454
2478
|
],
|
|
2455
|
-
"description": "
|
|
2479
|
+
"description": "list the aspects set on a component, as well as their config and data",
|
|
2456
2480
|
"extendedDescription": "",
|
|
2457
2481
|
"group": "development",
|
|
2458
|
-
"private": false
|
|
2482
|
+
"private": false,
|
|
2483
|
+
"arguments": [
|
|
2484
|
+
{
|
|
2485
|
+
"name": "component-name",
|
|
2486
|
+
"description": "the component name or component id"
|
|
2487
|
+
}
|
|
2488
|
+
]
|
|
2459
2489
|
},
|
|
2460
2490
|
{
|
|
2461
2491
|
"name": "set <pattern> <aspect-id> [config]",
|
|
2462
2492
|
"alias": "",
|
|
2463
2493
|
"options": [],
|
|
2464
|
-
"description": "set an aspect to
|
|
2465
|
-
"extendedDescription": "
|
|
2494
|
+
"description": "set components with an aspect to extend their development tools, metadata and (possibly) artifacts",
|
|
2495
|
+
"extendedDescription": "",
|
|
2466
2496
|
"group": "development",
|
|
2467
|
-
"private": false
|
|
2497
|
+
"private": false,
|
|
2498
|
+
"arguments": [
|
|
2499
|
+
{
|
|
2500
|
+
"name": "pattern",
|
|
2501
|
+
"description": "the components to extend. use component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\". wrap the pattern with quotes"
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"name": "aspect-id",
|
|
2505
|
+
"description": "the aspect's component id"
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"name": "config",
|
|
2509
|
+
"description": "the aspect config. enter the config as a stringified JSON (e.g. '{\"foo\":\"bar\"}' ). when no config is provided, an aspect is set with an empty config ({})."
|
|
2510
|
+
}
|
|
2511
|
+
]
|
|
2468
2512
|
},
|
|
2469
2513
|
{
|
|
2470
2514
|
"name": "unset <pattern> <aspect-id>",
|
|
2471
2515
|
"alias": "",
|
|
2472
2516
|
"options": [],
|
|
2473
2517
|
"description": "unset an aspect from component(s).",
|
|
2474
|
-
"extendedDescription": "
|
|
2518
|
+
"extendedDescription": "",
|
|
2475
2519
|
"group": "development",
|
|
2476
|
-
"private": false
|
|
2520
|
+
"private": false,
|
|
2521
|
+
"arguments": [
|
|
2522
|
+
{
|
|
2523
|
+
"name": "pattern",
|
|
2524
|
+
"description": "the components to target. use component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\". wrap the pattern with quotes"
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"name": "aspect-id",
|
|
2528
|
+
"description": "the aspect's component id"
|
|
2529
|
+
}
|
|
2530
|
+
]
|
|
2477
2531
|
},
|
|
2478
2532
|
{
|
|
2479
2533
|
"name": "update <aspect-id> [pattern]",
|
|
2480
2534
|
"alias": "",
|
|
2481
2535
|
"options": [],
|
|
2482
2536
|
"description": "update a version of an aspect",
|
|
2483
|
-
"extendedDescription": "
|
|
2537
|
+
"extendedDescription": "",
|
|
2484
2538
|
"group": "development",
|
|
2485
|
-
"private": false
|
|
2539
|
+
"private": false,
|
|
2540
|
+
"arguments": [
|
|
2541
|
+
{
|
|
2542
|
+
"name": "aspect-id",
|
|
2543
|
+
"description": "the aspect's component id"
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"name": "pattern",
|
|
2547
|
+
"description": "the components to update (defaults to all components). use component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\". wrap the pattern with quotes"
|
|
2548
|
+
}
|
|
2549
|
+
],
|
|
2550
|
+
"examples": [
|
|
2551
|
+
{
|
|
2552
|
+
"cmd": "update scope.org/aspect '**/ui/**'",
|
|
2553
|
+
"description": "update \"ui\" components that use scope.org/aspect to use its latest version"
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"cmd": "bit aspect update scope.org/aspect@2.0.0",
|
|
2557
|
+
"description": "update all components that use scope.org/aspect to version 2.0.0 (of this aspect)."
|
|
2558
|
+
}
|
|
2559
|
+
]
|
|
2486
2560
|
}
|
|
2487
2561
|
]
|
|
2488
2562
|
},
|
|
@@ -2564,31 +2638,41 @@
|
|
|
2564
2638
|
"skipWorkspace": true
|
|
2565
2639
|
},
|
|
2566
2640
|
{
|
|
2567
|
-
"name": "rename <
|
|
2641
|
+
"name": "rename <current-name> <new-name>",
|
|
2568
2642
|
"alias": "",
|
|
2569
2643
|
"options": [
|
|
2570
2644
|
[
|
|
2571
2645
|
"s",
|
|
2572
|
-
"scope <
|
|
2646
|
+
"scope <scope-name>",
|
|
2573
2647
|
"default scope for the newly created component"
|
|
2574
2648
|
],
|
|
2575
2649
|
[
|
|
2576
2650
|
"p",
|
|
2577
|
-
"path <
|
|
2651
|
+
"path <relative-path>",
|
|
2578
2652
|
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
2579
2653
|
],
|
|
2580
2654
|
[
|
|
2581
2655
|
"r",
|
|
2582
2656
|
"refactor",
|
|
2583
|
-
"
|
|
2657
|
+
"update the import/require statements in all dependent components (in the same workspace)"
|
|
2584
2658
|
]
|
|
2585
2659
|
],
|
|
2586
|
-
"description": "EXPERIMENTAL. rename component. if tagged/exported, create a new component and deprecate the
|
|
2587
|
-
"extendedDescription": "
|
|
2660
|
+
"description": "EXPERIMENTAL. rename component. if tagged/exported, create a new component and deprecate the original component",
|
|
2661
|
+
"extendedDescription": "",
|
|
2588
2662
|
"group": "collaborate",
|
|
2589
2663
|
"private": false,
|
|
2590
2664
|
"remoteOp": true,
|
|
2591
|
-
"skipWorkspace": true
|
|
2665
|
+
"skipWorkspace": true,
|
|
2666
|
+
"arguments": [
|
|
2667
|
+
{
|
|
2668
|
+
"name": "current-name",
|
|
2669
|
+
"description": "the current component name (without its scope name)"
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
"name": "new-name",
|
|
2673
|
+
"description": "the new component name (without its scope name)"
|
|
2674
|
+
}
|
|
2675
|
+
]
|
|
2592
2676
|
},
|
|
2593
2677
|
{
|
|
2594
2678
|
"name": "fork <source-component-id> [target-component-name]",
|
|
@@ -2862,7 +2946,13 @@
|
|
|
2862
2946
|
"description": "remove lanes",
|
|
2863
2947
|
"extendedDescription": "",
|
|
2864
2948
|
"group": "ungrouped",
|
|
2865
|
-
"private": true
|
|
2949
|
+
"private": true,
|
|
2950
|
+
"arguments": [
|
|
2951
|
+
{
|
|
2952
|
+
"name": "lanes...",
|
|
2953
|
+
"description": "A list of lane names, separated by spaces"
|
|
2954
|
+
}
|
|
2955
|
+
]
|
|
2866
2956
|
},
|
|
2867
2957
|
{
|
|
2868
2958
|
"name": "change-scope <lane-name> <remote-scope-name>",
|
|
@@ -2910,7 +3000,17 @@
|
|
|
2910
3000
|
"extendedDescription": "",
|
|
2911
3001
|
"group": "ungrouped",
|
|
2912
3002
|
"private": true,
|
|
2913
|
-
"skipWorkspace": false
|
|
3003
|
+
"skipWorkspace": false,
|
|
3004
|
+
"arguments": [
|
|
3005
|
+
{
|
|
3006
|
+
"name": "component-id",
|
|
3007
|
+
"description": "the component name or id of the component to use as the lane's readme"
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"name": "lane-name",
|
|
3011
|
+
"description": "the lane to attach the readme to (defaults to the current lane)"
|
|
3012
|
+
}
|
|
3013
|
+
]
|
|
2914
3014
|
},
|
|
2915
3015
|
{
|
|
2916
3016
|
"name": "remove-readme [laneName]",
|
|
@@ -2935,7 +3035,13 @@
|
|
|
2935
3035
|
"description": "import a remote lane to your workspace",
|
|
2936
3036
|
"extendedDescription": "",
|
|
2937
3037
|
"group": "ungrouped",
|
|
2938
|
-
"private": true
|
|
3038
|
+
"private": true,
|
|
3039
|
+
"arguments": [
|
|
3040
|
+
{
|
|
3041
|
+
"name": "lane",
|
|
3042
|
+
"description": "the remote lane name"
|
|
3043
|
+
}
|
|
3044
|
+
]
|
|
2939
3045
|
}
|
|
2940
3046
|
]
|
|
2941
3047
|
},
|
|
@@ -2975,7 +3081,7 @@
|
|
|
2975
3081
|
"private": true
|
|
2976
3082
|
},
|
|
2977
3083
|
{
|
|
2978
|
-
"name": "eject <pattern>",
|
|
3084
|
+
"name": "eject <component-pattern>",
|
|
2979
3085
|
"alias": "E",
|
|
2980
3086
|
"options": [
|
|
2981
3087
|
[
|
|
@@ -2994,10 +3100,16 @@
|
|
|
2994
3100
|
"keep the component files in the workspace intact"
|
|
2995
3101
|
]
|
|
2996
3102
|
],
|
|
2997
|
-
"description": "
|
|
2998
|
-
"extendedDescription": "
|
|
3103
|
+
"description": "replace components maintained in the workspace with their corresponding packages",
|
|
3104
|
+
"extendedDescription": "",
|
|
2999
3105
|
"group": "development",
|
|
3000
|
-
"private": false
|
|
3106
|
+
"private": false,
|
|
3107
|
+
"arguments": [
|
|
3108
|
+
{
|
|
3109
|
+
"name": "component-pattern",
|
|
3110
|
+
"description": "component name, component id, or component pattern.\nuse component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
3111
|
+
}
|
|
3112
|
+
]
|
|
3001
3113
|
},
|
|
3002
3114
|
{
|
|
3003
3115
|
"name": "resume-export <export-id> <remotes...>",
|
|
@@ -3051,7 +3163,7 @@
|
|
|
3051
3163
|
[
|
|
3052
3164
|
"",
|
|
3053
3165
|
"origin-directly",
|
|
3054
|
-
"
|
|
3166
|
+
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
3055
3167
|
],
|
|
3056
3168
|
[
|
|
3057
3169
|
"",
|