@teambit/harmony.content.cli-reference 1.95.28 → 1.95.31
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 +307 -124
- package/cli-reference.mdx +160 -148
- package/dist/cli-reference.json +307 -124
- package/dist/cli-reference.mdx.js +202 -125
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.31.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1654918011878.js → preview-1655436530187.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.28.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -997,23 +997,29 @@
|
|
|
997
997
|
"private": false
|
|
998
998
|
},
|
|
999
999
|
{
|
|
1000
|
-
"name": "use [ids...]",
|
|
1000
|
+
"name": "use [component-ids...]",
|
|
1001
1001
|
"alias": "",
|
|
1002
1002
|
"options": [],
|
|
1003
|
-
"description": "set
|
|
1003
|
+
"description": "set aspects in the workspace/scope config to make them loadable by the workspace/scope",
|
|
1004
1004
|
"extendedDescription": "",
|
|
1005
1005
|
"group": "collaborate",
|
|
1006
1006
|
"private": false,
|
|
1007
|
-
"remoteOp": true
|
|
1007
|
+
"remoteOp": true,
|
|
1008
|
+
"arguments": [
|
|
1009
|
+
{
|
|
1010
|
+
"name": "component-ids...",
|
|
1011
|
+
"description": "the component IDs of the aspects"
|
|
1012
|
+
}
|
|
1013
|
+
]
|
|
1008
1014
|
},
|
|
1009
1015
|
{
|
|
1010
|
-
"name": "show <
|
|
1016
|
+
"name": "show <component-name>",
|
|
1011
1017
|
"alias": "",
|
|
1012
1018
|
"options": [
|
|
1013
1019
|
[
|
|
1014
1020
|
"j",
|
|
1015
1021
|
"json",
|
|
1016
|
-
"return the component data in json format"
|
|
1022
|
+
"return the component data in a json format"
|
|
1017
1023
|
],
|
|
1018
1024
|
[
|
|
1019
1025
|
"l",
|
|
@@ -1028,13 +1034,19 @@
|
|
|
1028
1034
|
[
|
|
1029
1035
|
"c",
|
|
1030
1036
|
"compare",
|
|
1031
|
-
"compare current file system component to latest tagged component [default=latest]. only works in legacy."
|
|
1037
|
+
"compare current file system component to the latest tagged component [default=latest]. only works in legacy."
|
|
1032
1038
|
]
|
|
1033
1039
|
],
|
|
1034
|
-
"description": "
|
|
1040
|
+
"description": "display the component's essential information",
|
|
1035
1041
|
"extendedDescription": "",
|
|
1036
1042
|
"group": "info",
|
|
1037
|
-
"private": false
|
|
1043
|
+
"private": false,
|
|
1044
|
+
"arguments": [
|
|
1045
|
+
{
|
|
1046
|
+
"name": "component-name",
|
|
1047
|
+
"description": "component name or component id"
|
|
1048
|
+
}
|
|
1049
|
+
]
|
|
1038
1050
|
},
|
|
1039
1051
|
{
|
|
1040
1052
|
"name": "globals",
|
|
@@ -1055,7 +1067,7 @@
|
|
|
1055
1067
|
"name": "envs",
|
|
1056
1068
|
"alias": "env",
|
|
1057
1069
|
"options": [],
|
|
1058
|
-
"description": "list all components envs",
|
|
1070
|
+
"description": "list all components maintained by the workspace and their corresponding envs",
|
|
1059
1071
|
"extendedDescription": "",
|
|
1060
1072
|
"group": "development",
|
|
1061
1073
|
"private": false,
|
|
@@ -1070,47 +1082,82 @@
|
|
|
1070
1082
|
"private": false
|
|
1071
1083
|
},
|
|
1072
1084
|
{
|
|
1073
|
-
"name": "get <name>",
|
|
1085
|
+
"name": "get <component-name>",
|
|
1074
1086
|
"alias": "",
|
|
1075
1087
|
"options": [],
|
|
1076
|
-
"description": "show component's env
|
|
1088
|
+
"description": "show information about a component's env",
|
|
1077
1089
|
"extendedDescription": "",
|
|
1078
1090
|
"group": "development",
|
|
1079
|
-
"private": false
|
|
1091
|
+
"private": false,
|
|
1092
|
+
"arguments": [
|
|
1093
|
+
{
|
|
1094
|
+
"name": "component-name",
|
|
1095
|
+
"description": "the 'component name' or 'component id' of the component its env you'd like to inspect"
|
|
1096
|
+
}
|
|
1097
|
+
]
|
|
1080
1098
|
},
|
|
1081
1099
|
{
|
|
1082
|
-
"name": "set <pattern> <env>",
|
|
1100
|
+
"name": "set <component-pattern> <env>",
|
|
1083
1101
|
"options": [],
|
|
1084
|
-
"description": "
|
|
1085
|
-
"
|
|
1086
|
-
"
|
|
1102
|
+
"description": "Sets one or more components with a development environment (env)",
|
|
1103
|
+
"group": "development",
|
|
1104
|
+
"arguments": [
|
|
1105
|
+
{
|
|
1106
|
+
"name": "component-pattern",
|
|
1107
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components. \nuse commas to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "env",
|
|
1111
|
+
"description": "the env's component id (include version for non-core envs. e.g, `teambit.community/envs/community-react@1.95.13`)"
|
|
1112
|
+
}
|
|
1113
|
+
],
|
|
1114
|
+
"examples": [
|
|
1115
|
+
{
|
|
1116
|
+
"cmd": "set ui/button teambit.react/react",
|
|
1117
|
+
"description": "configures 'ui/button' to use the 'teambit.react/react' env"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"cmd": "set ui/button teambit.community/envs/community-mdx@1.95.16",
|
|
1121
|
+
"description": "configures 'ui/button' to use the (non-core) 'teambit.community/envs/community-mdx@1.95.16' env"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"cmd": "set \"ui/**\" teambit.react/react",
|
|
1125
|
+
"description": "configures all components that have the 'ui' namespace to use the teambit.react/react env"
|
|
1126
|
+
}
|
|
1127
|
+
]
|
|
1087
1128
|
},
|
|
1088
1129
|
{
|
|
1089
|
-
"name": "unset <pattern>",
|
|
1130
|
+
"name": "unset <component-pattern>",
|
|
1090
1131
|
"options": [],
|
|
1091
|
-
"description": "
|
|
1092
|
-
"extendedDescription": "keep in mind that this doesn't remove envs that are set in the variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to remove the specific settings and let the the variants in workspace.jsonc to control the env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"
|
|
1093
|
-
"group": "development"
|
|
1132
|
+
"description": "un-sets an env from components that were previously set by \"bit env set\" or by a component template",
|
|
1133
|
+
"extendedDescription": "keep in mind that this doesn't remove envs that are set in the variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to remove the specific settings and let the the variants in workspace.jsonc to control the env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
1134
|
+
"group": "development",
|
|
1135
|
+
"arguments": [
|
|
1136
|
+
{
|
|
1137
|
+
"name": "component-pattern",
|
|
1138
|
+
"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"
|
|
1139
|
+
}
|
|
1140
|
+
]
|
|
1094
1141
|
},
|
|
1095
1142
|
{
|
|
1096
|
-
"name": "replace <
|
|
1143
|
+
"name": "replace <current-env> <new-env>",
|
|
1097
1144
|
"options": [],
|
|
1098
1145
|
"description": "replace an existing env with another env for all components using the old env",
|
|
1099
1146
|
"group": "development",
|
|
1100
1147
|
"arguments": [
|
|
1101
1148
|
{
|
|
1102
|
-
"name": "
|
|
1103
|
-
"description": "
|
|
1149
|
+
"name": "current-env",
|
|
1150
|
+
"description": "the component id of the current env"
|
|
1104
1151
|
},
|
|
1105
1152
|
{
|
|
1106
1153
|
"name": "new-env",
|
|
1107
|
-
"description": "
|
|
1154
|
+
"description": "the component id of the new env"
|
|
1108
1155
|
}
|
|
1109
1156
|
],
|
|
1110
1157
|
"examples": [
|
|
1111
1158
|
{
|
|
1112
1159
|
"cmd": "replace teambit.harmony/aspect teambit.harmony/node",
|
|
1113
|
-
"description": "
|
|
1160
|
+
"description": "components configured to use the 'aspect' env will be configured to use the 'node' env, instead"
|
|
1114
1161
|
}
|
|
1115
1162
|
]
|
|
1116
1163
|
}
|
|
@@ -1127,7 +1174,7 @@
|
|
|
1127
1174
|
],
|
|
1128
1175
|
[
|
|
1129
1176
|
"p",
|
|
1130
|
-
"port [number]",
|
|
1177
|
+
"port [port-number]",
|
|
1131
1178
|
"port of the UI server."
|
|
1132
1179
|
],
|
|
1133
1180
|
[
|
|
@@ -1138,7 +1185,7 @@
|
|
|
1138
1185
|
[
|
|
1139
1186
|
"v",
|
|
1140
1187
|
"verbose",
|
|
1141
|
-
"
|
|
1188
|
+
"show verbose output for inspection and prints stack trace"
|
|
1142
1189
|
],
|
|
1143
1190
|
[
|
|
1144
1191
|
"",
|
|
@@ -1151,7 +1198,7 @@
|
|
|
1151
1198
|
"skip the auto-compilation before starting the web-server"
|
|
1152
1199
|
]
|
|
1153
1200
|
],
|
|
1154
|
-
"description": "
|
|
1201
|
+
"description": "run the ui/development server",
|
|
1155
1202
|
"extendedDescription": "",
|
|
1156
1203
|
"group": "development",
|
|
1157
1204
|
"private": false
|
|
@@ -1169,20 +1216,30 @@
|
|
|
1169
1216
|
"name": "scope <sub-command>",
|
|
1170
1217
|
"alias": "",
|
|
1171
1218
|
"options": [],
|
|
1172
|
-
"description": "EXPERIMENTAL. manage scope-name",
|
|
1219
|
+
"description": "EXPERIMENTAL. manage the scope-name for components",
|
|
1173
1220
|
"extendedDescription": "",
|
|
1174
1221
|
"group": "development",
|
|
1175
1222
|
"private": false,
|
|
1176
1223
|
"commands": [
|
|
1177
1224
|
{
|
|
1178
|
-
"name": "set <scope-name> [pattern]",
|
|
1225
|
+
"name": "set <scope-name> [component-pattern]",
|
|
1179
1226
|
"options": [],
|
|
1180
|
-
"description": "
|
|
1181
|
-
"extendedDescription": "set
|
|
1182
|
-
"group": "development"
|
|
1227
|
+
"description": "Sets components with a default-scope. If no component is specified, sets the workspace with a default scope",
|
|
1228
|
+
"extendedDescription": "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc. a component is set with a scope (as oppose to default scope) only once it is versioned.'\n\nyou can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
1229
|
+
"group": "development",
|
|
1230
|
+
"arguments": [
|
|
1231
|
+
{
|
|
1232
|
+
"name": "scope-name",
|
|
1233
|
+
"description": "the scope name to use as the default scope"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"name": "component-pattern",
|
|
1237
|
+
"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"
|
|
1238
|
+
}
|
|
1239
|
+
]
|
|
1183
1240
|
},
|
|
1184
1241
|
{
|
|
1185
|
-
"name": "rename <
|
|
1242
|
+
"name": "rename <current-scope-name> <new-scope-name>",
|
|
1186
1243
|
"options": [
|
|
1187
1244
|
[
|
|
1188
1245
|
"r",
|
|
@@ -1190,8 +1247,18 @@
|
|
|
1190
1247
|
"change the source code of all components using the original scope-name with the new scope-name"
|
|
1191
1248
|
]
|
|
1192
1249
|
],
|
|
1193
|
-
"description": "
|
|
1194
|
-
"group": "development"
|
|
1250
|
+
"description": "Renames the scope name for all components with the specified 'current scope name'",
|
|
1251
|
+
"group": "development",
|
|
1252
|
+
"arguments": [
|
|
1253
|
+
{
|
|
1254
|
+
"name": "current-scope-name",
|
|
1255
|
+
"description": "the scope name to be replaced by another scope name"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"name": "new-scope-name",
|
|
1259
|
+
"description": "a new scope name to replace the current scope name"
|
|
1260
|
+
}
|
|
1261
|
+
]
|
|
1195
1262
|
},
|
|
1196
1263
|
{
|
|
1197
1264
|
"name": "fork <original-scope> <new-scope>",
|
|
@@ -1241,8 +1308,8 @@
|
|
|
1241
1308
|
"install all missing peer dependencies"
|
|
1242
1309
|
]
|
|
1243
1310
|
],
|
|
1244
|
-
"description": "
|
|
1245
|
-
"extendedDescription": "",
|
|
1311
|
+
"description": "installs workspace dependencies",
|
|
1312
|
+
"extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
|
|
1246
1313
|
"group": "development",
|
|
1247
1314
|
"private": false
|
|
1248
1315
|
},
|
|
@@ -1286,7 +1353,7 @@
|
|
|
1286
1353
|
]
|
|
1287
1354
|
],
|
|
1288
1355
|
"description": "eject components configuration (create a `component.json` file)",
|
|
1289
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit eject-conf \"org.scope/utils/**\"
|
|
1356
|
+
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit eject-conf \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
1290
1357
|
"group": "development",
|
|
1291
1358
|
"private": false
|
|
1292
1359
|
},
|
|
@@ -1457,23 +1524,23 @@
|
|
|
1457
1524
|
]
|
|
1458
1525
|
],
|
|
1459
1526
|
"description": "list the component ids matching the given pattern",
|
|
1460
|
-
"extendedDescription": "",
|
|
1527
|
+
"extendedDescription": "this command helps validating a pattern before using it in other commands.\na pattern can be a simple component-id or component-name. e.g. \"ui/button\".\na pattern can be used with wildcards for multiple component ids, e.g. \"org.scope/utils/**\".\nto enter multiple patterns, separate them by a comma, e.g. \"ui/*, lib/*\"\nto exclude, use \"!\". e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nthe matching algorithm is done by multimatch (@see https://github.com/sindresorhus/multimatch)\n",
|
|
1461
1528
|
"group": "development",
|
|
1462
1529
|
"private": false
|
|
1463
1530
|
},
|
|
1464
1531
|
{
|
|
1465
|
-
"name": "import [ids...]",
|
|
1532
|
+
"name": "import [component-ids...]",
|
|
1466
1533
|
"alias": "",
|
|
1467
1534
|
"options": [
|
|
1468
1535
|
[
|
|
1469
1536
|
"p",
|
|
1470
1537
|
"path <path>",
|
|
1471
|
-
"import components into a specific directory"
|
|
1538
|
+
"import components into a specific directory (a relative path in the workspace)"
|
|
1472
1539
|
],
|
|
1473
1540
|
[
|
|
1474
1541
|
"o",
|
|
1475
1542
|
"objects",
|
|
1476
|
-
"import components objects
|
|
1543
|
+
"import components objects to the local scope without checkout (without writing them to the file system). This is a default behavior for import with no id argument"
|
|
1477
1544
|
],
|
|
1478
1545
|
[
|
|
1479
1546
|
"d",
|
|
@@ -1488,7 +1555,7 @@
|
|
|
1488
1555
|
[
|
|
1489
1556
|
"v",
|
|
1490
1557
|
"verbose",
|
|
1491
|
-
"
|
|
1558
|
+
"show verbose output for inspection"
|
|
1492
1559
|
],
|
|
1493
1560
|
[
|
|
1494
1561
|
"j",
|
|
@@ -1498,7 +1565,7 @@
|
|
|
1498
1565
|
[
|
|
1499
1566
|
"",
|
|
1500
1567
|
"conf",
|
|
1501
|
-
"write the configuration file (component.json) of the component
|
|
1568
|
+
"write the configuration file (component.json) of the component"
|
|
1502
1569
|
],
|
|
1503
1570
|
[
|
|
1504
1571
|
"",
|
|
@@ -1536,14 +1603,20 @@
|
|
|
1536
1603
|
"relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
|
|
1537
1604
|
]
|
|
1538
1605
|
],
|
|
1539
|
-
"description": "import components
|
|
1606
|
+
"description": "import components from remote scopes to the local workspace",
|
|
1540
1607
|
"extendedDescription": "https://bit.dev/docs/components/importing-components\nyou can use a pattern for multiple ids, such as bit import \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
1541
1608
|
"group": "collaborate",
|
|
1542
1609
|
"private": false,
|
|
1543
|
-
"remoteOp": true
|
|
1610
|
+
"remoteOp": true,
|
|
1611
|
+
"arguments": [
|
|
1612
|
+
{
|
|
1613
|
+
"name": "component-ids...",
|
|
1614
|
+
"description": "a list of component IDs (separated by space) to import"
|
|
1615
|
+
}
|
|
1616
|
+
]
|
|
1544
1617
|
},
|
|
1545
1618
|
{
|
|
1546
|
-
"name": "create <
|
|
1619
|
+
"name": "create <template-name> <component-names...>",
|
|
1547
1620
|
"alias": "",
|
|
1548
1621
|
"options": [
|
|
1549
1622
|
[
|
|
@@ -1572,10 +1645,28 @@
|
|
|
1572
1645
|
"set the component's environment. (overrides the env from variants and the template)"
|
|
1573
1646
|
]
|
|
1574
1647
|
],
|
|
1575
|
-
"description": "create a new component
|
|
1648
|
+
"description": "create a new component (source files and config) using a template.",
|
|
1576
1649
|
"extendedDescription": "",
|
|
1577
1650
|
"group": "development",
|
|
1578
|
-
"private": false
|
|
1651
|
+
"private": false,
|
|
1652
|
+
"examples": [
|
|
1653
|
+
{
|
|
1654
|
+
"cmd": "bit create react ui/button",
|
|
1655
|
+
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"cmd": "bit create react ui/button pages/register",
|
|
1659
|
+
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
1663
|
+
"description": "creates a component named 'ui/button' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
1667
|
+
"description": "creates a component named 'ui/button' and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react')."
|
|
1668
|
+
}
|
|
1669
|
+
]
|
|
1579
1670
|
},
|
|
1580
1671
|
{
|
|
1581
1672
|
"name": "templates",
|
|
@@ -1593,17 +1684,17 @@
|
|
|
1593
1684
|
"private": false
|
|
1594
1685
|
},
|
|
1595
1686
|
{
|
|
1596
|
-
"name": "new <
|
|
1687
|
+
"name": "new <template-name> <workspace-name>",
|
|
1597
1688
|
"alias": "",
|
|
1598
1689
|
"options": [
|
|
1599
1690
|
[
|
|
1600
1691
|
"a",
|
|
1601
|
-
"aspect <
|
|
1692
|
+
"aspect <aspect-id>",
|
|
1602
1693
|
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1603
1694
|
],
|
|
1604
1695
|
[
|
|
1605
1696
|
"d",
|
|
1606
|
-
"default-scope <
|
|
1697
|
+
"default-scope <scope-name>",
|
|
1607
1698
|
"set defaultScope in the new workspace.jsonc"
|
|
1608
1699
|
],
|
|
1609
1700
|
[
|
|
@@ -1623,17 +1714,27 @@
|
|
|
1623
1714
|
],
|
|
1624
1715
|
[
|
|
1625
1716
|
"",
|
|
1626
|
-
"load-from <
|
|
1717
|
+
"load-from <path-to-template>",
|
|
1627
1718
|
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
1628
1719
|
]
|
|
1629
1720
|
],
|
|
1630
|
-
"description": "
|
|
1721
|
+
"description": "create a new workspace from a template",
|
|
1631
1722
|
"extendedDescription": "",
|
|
1632
1723
|
"group": "start",
|
|
1633
|
-
"private": false
|
|
1724
|
+
"private": false,
|
|
1725
|
+
"arguments": [
|
|
1726
|
+
{
|
|
1727
|
+
"name": "template-name",
|
|
1728
|
+
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "workspace-name",
|
|
1732
|
+
"description": "the name for the new workspace and workspace directory"
|
|
1733
|
+
}
|
|
1734
|
+
]
|
|
1634
1735
|
},
|
|
1635
1736
|
{
|
|
1636
|
-
"name": "build [pattern]",
|
|
1737
|
+
"name": "build [component-pattern]",
|
|
1637
1738
|
"alias": "",
|
|
1638
1739
|
"options": [
|
|
1639
1740
|
[
|
|
@@ -1675,7 +1776,13 @@
|
|
|
1675
1776
|
"description": "run set of tasks for build",
|
|
1676
1777
|
"extendedDescription": "",
|
|
1677
1778
|
"group": "development",
|
|
1678
|
-
"private": false
|
|
1779
|
+
"private": false,
|
|
1780
|
+
"arguments": [
|
|
1781
|
+
{
|
|
1782
|
+
"name": "component-pattern",
|
|
1783
|
+
"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"
|
|
1784
|
+
}
|
|
1785
|
+
]
|
|
1679
1786
|
},
|
|
1680
1787
|
{
|
|
1681
1788
|
"name": "artifacts <pattern...>",
|
|
@@ -1823,13 +1930,13 @@
|
|
|
1823
1930
|
"private": true
|
|
1824
1931
|
},
|
|
1825
1932
|
{
|
|
1826
|
-
"name": "tag [
|
|
1933
|
+
"name": "tag [patterns...]",
|
|
1827
1934
|
"alias": "t",
|
|
1828
1935
|
"options": [
|
|
1829
1936
|
[
|
|
1830
1937
|
"m",
|
|
1831
1938
|
"message <message>",
|
|
1832
|
-
"log message describing
|
|
1939
|
+
"a log message describing latest changes"
|
|
1833
1940
|
],
|
|
1834
1941
|
[
|
|
1835
1942
|
"",
|
|
@@ -1839,37 +1946,47 @@
|
|
|
1839
1946
|
[
|
|
1840
1947
|
"",
|
|
1841
1948
|
"editor [editor]",
|
|
1842
|
-
"EXPERIMENTAL. open an editor to
|
|
1949
|
+
"EXPERIMENTAL. open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
1843
1950
|
],
|
|
1844
1951
|
[
|
|
1845
1952
|
"v",
|
|
1846
1953
|
"ver <version>",
|
|
1847
1954
|
"tag with the given version"
|
|
1848
1955
|
],
|
|
1956
|
+
[
|
|
1957
|
+
"l",
|
|
1958
|
+
"increment <level>",
|
|
1959
|
+
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
1960
|
+
],
|
|
1961
|
+
[
|
|
1962
|
+
"",
|
|
1963
|
+
"prerelease-id <id>",
|
|
1964
|
+
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
1965
|
+
],
|
|
1849
1966
|
[
|
|
1850
1967
|
"p",
|
|
1851
1968
|
"patch",
|
|
1852
|
-
"
|
|
1969
|
+
"syntactic sugar for \"--increment patch\""
|
|
1853
1970
|
],
|
|
1854
1971
|
[
|
|
1855
1972
|
"",
|
|
1856
1973
|
"minor",
|
|
1857
|
-
"
|
|
1974
|
+
"syntactic sugar for \"--increment minor\""
|
|
1858
1975
|
],
|
|
1859
1976
|
[
|
|
1860
1977
|
"",
|
|
1861
1978
|
"major",
|
|
1862
|
-
"
|
|
1979
|
+
"syntactic sugar for \"--increment major\""
|
|
1863
1980
|
],
|
|
1864
1981
|
[
|
|
1865
1982
|
"",
|
|
1866
1983
|
"snapped",
|
|
1867
|
-
"tag components that their head is a snap (not a tag)"
|
|
1984
|
+
"EXPERIMENTAL. tag components that their head is a snap (not a tag)"
|
|
1868
1985
|
],
|
|
1869
1986
|
[
|
|
1870
1987
|
"",
|
|
1871
1988
|
"pre-release [identifier]",
|
|
1872
|
-
"
|
|
1989
|
+
"DEPRECATED. use \"-l prerelease\" (and --prerelease-id) instead"
|
|
1873
1990
|
],
|
|
1874
1991
|
[
|
|
1875
1992
|
"",
|
|
@@ -1942,11 +2059,17 @@
|
|
|
1942
2059
|
"DEPRECATED. use --disable-tag-pipeline instead"
|
|
1943
2060
|
]
|
|
1944
2061
|
],
|
|
1945
|
-
"description": "
|
|
1946
|
-
"extendedDescription": "if no
|
|
2062
|
+
"description": "create an immutable and exportable component snapshot, tagged with a release version.",
|
|
2063
|
+
"extendedDescription": "if no patterns are provided, it will tag all new and modified components.\nif patterns are entered, you can specify a version per pattern using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major\nhttps://bit.dev/components/tags",
|
|
1947
2064
|
"group": "development",
|
|
1948
2065
|
"private": false,
|
|
1949
2066
|
"remoteOp": true,
|
|
2067
|
+
"arguments": [
|
|
2068
|
+
{
|
|
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."
|
|
2071
|
+
}
|
|
2072
|
+
],
|
|
1950
2073
|
"examples": [
|
|
1951
2074
|
{
|
|
1952
2075
|
"cmd": "tag --ver 1.0.0",
|
|
@@ -1955,13 +2078,13 @@
|
|
|
1955
2078
|
]
|
|
1956
2079
|
},
|
|
1957
2080
|
{
|
|
1958
|
-
"name": "snap [
|
|
2081
|
+
"name": "snap [component-name]",
|
|
1959
2082
|
"alias": "",
|
|
1960
2083
|
"options": [
|
|
1961
2084
|
[
|
|
1962
2085
|
"m",
|
|
1963
2086
|
"message <message>",
|
|
1964
|
-
"log message describing the
|
|
2087
|
+
"log message describing the latest changes"
|
|
1965
2088
|
],
|
|
1966
2089
|
[
|
|
1967
2090
|
"",
|
|
@@ -2009,10 +2132,16 @@
|
|
|
2009
2132
|
"DEPRECATED (use \"--skip-tests\" or \"--unmodified\" instead). force-snap even if tests are failing and even when component has not changed"
|
|
2010
2133
|
]
|
|
2011
2134
|
],
|
|
2012
|
-
"description": "EXPERIMENTAL.
|
|
2135
|
+
"description": "EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)",
|
|
2013
2136
|
"extendedDescription": "https://bit.dev/components/snaps\nyou can use a pattern for multiple ids, such as bit snap \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2014
2137
|
"group": "ungrouped",
|
|
2015
|
-
"private": true
|
|
2138
|
+
"private": true,
|
|
2139
|
+
"arguments": [
|
|
2140
|
+
{
|
|
2141
|
+
"name": "component_name",
|
|
2142
|
+
"description": "component names or component ID (defaults to all components)"
|
|
2143
|
+
}
|
|
2144
|
+
]
|
|
2016
2145
|
},
|
|
2017
2146
|
{
|
|
2018
2147
|
"name": "merge [values...]",
|
|
@@ -2079,13 +2208,13 @@
|
|
|
2079
2208
|
"in case issues found, exit with code 1"
|
|
2080
2209
|
]
|
|
2081
2210
|
],
|
|
2082
|
-
"description": "
|
|
2083
|
-
"extendedDescription": "
|
|
2211
|
+
"description": "present the current status of components in the workspace, and notifies when issues are detected",
|
|
2212
|
+
"extendedDescription": "",
|
|
2084
2213
|
"group": "development",
|
|
2085
2214
|
"private": false
|
|
2086
2215
|
},
|
|
2087
2216
|
{
|
|
2088
|
-
"name": "compile [component...]",
|
|
2217
|
+
"name": "compile [component-names...]",
|
|
2089
2218
|
"alias": "",
|
|
2090
2219
|
"options": [
|
|
2091
2220
|
[
|
|
@@ -2109,13 +2238,19 @@
|
|
|
2109
2238
|
"delete existing dist folder before writing new compiled files"
|
|
2110
2239
|
]
|
|
2111
2240
|
],
|
|
2112
|
-
"description": "compile components in the
|
|
2241
|
+
"description": "compile components in the workspace",
|
|
2113
2242
|
"extendedDescription": "",
|
|
2114
2243
|
"group": "development",
|
|
2115
|
-
"private": false
|
|
2244
|
+
"private": false,
|
|
2245
|
+
"arguments": [
|
|
2246
|
+
{
|
|
2247
|
+
"name": "component-names...",
|
|
2248
|
+
"description": "a list of component names or component IDs (defaults to all components)"
|
|
2249
|
+
}
|
|
2250
|
+
]
|
|
2116
2251
|
},
|
|
2117
2252
|
{
|
|
2118
|
-
"name": "run <app>",
|
|
2253
|
+
"name": "run <app-name>",
|
|
2119
2254
|
"alias": "c",
|
|
2120
2255
|
"options": [
|
|
2121
2256
|
[
|
|
@@ -2134,10 +2269,16 @@
|
|
|
2134
2269
|
"avoid running the watch process that compiles components in the background"
|
|
2135
2270
|
]
|
|
2136
2271
|
],
|
|
2137
|
-
"description": "run an
|
|
2272
|
+
"description": "run an app (independent of bit's dev server)",
|
|
2138
2273
|
"extendedDescription": "",
|
|
2139
2274
|
"group": "apps",
|
|
2140
|
-
"private": false
|
|
2275
|
+
"private": false,
|
|
2276
|
+
"arguments": [
|
|
2277
|
+
{
|
|
2278
|
+
"name": "app-name",
|
|
2279
|
+
"description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
|
|
2280
|
+
}
|
|
2281
|
+
]
|
|
2141
2282
|
},
|
|
2142
2283
|
{
|
|
2143
2284
|
"name": "app-list",
|
|
@@ -2158,7 +2299,7 @@
|
|
|
2158
2299
|
"name": "app <sub-command>",
|
|
2159
2300
|
"alias": "",
|
|
2160
2301
|
"options": [],
|
|
2161
|
-
"description": "
|
|
2302
|
+
"description": "Manages apps",
|
|
2162
2303
|
"extendedDescription": "",
|
|
2163
2304
|
"group": "apps",
|
|
2164
2305
|
"private": false,
|
|
@@ -2173,7 +2314,7 @@
|
|
|
2173
2314
|
"return the component data in json format"
|
|
2174
2315
|
]
|
|
2175
2316
|
],
|
|
2176
|
-
"description": "list all registered
|
|
2317
|
+
"description": "list all registered apps",
|
|
2177
2318
|
"extendedDescription": "",
|
|
2178
2319
|
"group": "apps",
|
|
2179
2320
|
"private": false
|
|
@@ -2181,7 +2322,7 @@
|
|
|
2181
2322
|
]
|
|
2182
2323
|
},
|
|
2183
2324
|
{
|
|
2184
|
-
"name": "test [pattern]",
|
|
2325
|
+
"name": "test [component-pattern]",
|
|
2185
2326
|
"alias": "at",
|
|
2186
2327
|
"options": [
|
|
2187
2328
|
[
|
|
@@ -2216,14 +2357,20 @@
|
|
|
2216
2357
|
],
|
|
2217
2358
|
[
|
|
2218
2359
|
"s",
|
|
2219
|
-
"scope <scope>",
|
|
2220
|
-
"name of the scope to test"
|
|
2360
|
+
"scope <scope-name>",
|
|
2361
|
+
"DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
|
|
2221
2362
|
]
|
|
2222
2363
|
],
|
|
2223
|
-
"description": "test
|
|
2364
|
+
"description": "test components in the workspace",
|
|
2224
2365
|
"extendedDescription": "",
|
|
2225
2366
|
"group": "development",
|
|
2226
|
-
"private": false
|
|
2367
|
+
"private": false,
|
|
2368
|
+
"arguments": [
|
|
2369
|
+
{
|
|
2370
|
+
"name": "component-pattern",
|
|
2371
|
+
"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"
|
|
2372
|
+
}
|
|
2373
|
+
]
|
|
2227
2374
|
},
|
|
2228
2375
|
{
|
|
2229
2376
|
"name": "schema <pattern>",
|
|
@@ -2236,12 +2383,12 @@
|
|
|
2236
2383
|
]
|
|
2237
2384
|
],
|
|
2238
2385
|
"description": "shows the API schema of a certain component.",
|
|
2239
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"
|
|
2386
|
+
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
2240
2387
|
"group": "development",
|
|
2241
2388
|
"private": false
|
|
2242
2389
|
},
|
|
2243
2390
|
{
|
|
2244
|
-
"name": "check-types [pattern]",
|
|
2391
|
+
"name": "check-types [component-pattern]",
|
|
2245
2392
|
"alias": "",
|
|
2246
2393
|
"options": [
|
|
2247
2394
|
[
|
|
@@ -2258,7 +2405,13 @@
|
|
|
2258
2405
|
"description": "check typescript types",
|
|
2259
2406
|
"extendedDescription": "",
|
|
2260
2407
|
"group": "development",
|
|
2261
|
-
"private": false
|
|
2408
|
+
"private": false,
|
|
2409
|
+
"arguments": [
|
|
2410
|
+
{
|
|
2411
|
+
"name": "component-pattern",
|
|
2412
|
+
"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"
|
|
2413
|
+
}
|
|
2414
|
+
]
|
|
2262
2415
|
},
|
|
2263
2416
|
{
|
|
2264
2417
|
"name": "aspect <sub-command>",
|
|
@@ -2280,7 +2433,7 @@
|
|
|
2280
2433
|
]
|
|
2281
2434
|
],
|
|
2282
2435
|
"description": "list all aspects configured on component(s)",
|
|
2283
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit aspect list \"org.scope/utils/**\"
|
|
2436
|
+
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit aspect list \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
2284
2437
|
"group": "development",
|
|
2285
2438
|
"private": false
|
|
2286
2439
|
},
|
|
@@ -2309,7 +2462,7 @@
|
|
|
2309
2462
|
"alias": "",
|
|
2310
2463
|
"options": [],
|
|
2311
2464
|
"description": "set an aspect to component(s) with optional config.",
|
|
2312
|
-
"extendedDescription": "enter the config as stringified JSON (e.g. '{\"foo\":\"bar\"}' ).\nif no config entered, the aspect will be set with empty config ({}).\nyou can use a `<pattern>` for multiple component ids, such as `bit aspect set \"org.scope/utils/**\"
|
|
2465
|
+
"extendedDescription": "enter the config as stringified JSON (e.g. '{\"foo\":\"bar\"}' ).\nif no config entered, the aspect will be set with empty config ({}).\nyou can use a `<pattern>` for multiple component ids, such as `bit aspect set \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
2313
2466
|
"group": "development",
|
|
2314
2467
|
"private": false
|
|
2315
2468
|
},
|
|
@@ -2318,7 +2471,7 @@
|
|
|
2318
2471
|
"alias": "",
|
|
2319
2472
|
"options": [],
|
|
2320
2473
|
"description": "unset an aspect from component(s).",
|
|
2321
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit aspect unset \"org.scope/utils/**\"
|
|
2474
|
+
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit aspect unset \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
2322
2475
|
"group": "development",
|
|
2323
2476
|
"private": false
|
|
2324
2477
|
},
|
|
@@ -2327,7 +2480,7 @@
|
|
|
2327
2480
|
"alias": "",
|
|
2328
2481
|
"options": [],
|
|
2329
2482
|
"description": "update a version of an aspect",
|
|
2330
|
-
"extendedDescription": "default to all components using the aspect, unless \"pattern\" is provided.\nyou can use a `<pattern>` for multiple component ids, such as `bit aspect update <aspect-id> \"org.scope/utils/**\"
|
|
2483
|
+
"extendedDescription": "default to all components using the aspect, unless \"pattern\" is provided.\nyou can use a `<pattern>` for multiple component ids, such as `bit aspect update <aspect-id> \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n\nexamples:\n\"bit aspect update scope.org/aspect '**/ui/**'\" - update \"ui\" components that use scope.org/aspect to the latest version\n\"bit aspect update scope.org/aspect@2.0.0\" - updates all components using scope.org/aspect to version 2.0.0.",
|
|
2331
2484
|
"group": "development",
|
|
2332
2485
|
"private": false
|
|
2333
2486
|
}
|
|
@@ -2362,6 +2515,11 @@
|
|
|
2362
2515
|
"",
|
|
2363
2516
|
"parents",
|
|
2364
2517
|
"EXPERIMENTAL. show parents and lanes data"
|
|
2518
|
+
],
|
|
2519
|
+
[
|
|
2520
|
+
"j",
|
|
2521
|
+
"json",
|
|
2522
|
+
"json format"
|
|
2365
2523
|
]
|
|
2366
2524
|
],
|
|
2367
2525
|
"description": "show components(s) version history",
|
|
@@ -2433,34 +2591,44 @@
|
|
|
2433
2591
|
"skipWorkspace": true
|
|
2434
2592
|
},
|
|
2435
2593
|
{
|
|
2436
|
-
"name": "fork <source-id> [target-name]",
|
|
2594
|
+
"name": "fork <source-component-id> [target-component-name]",
|
|
2437
2595
|
"alias": "",
|
|
2438
2596
|
"options": [
|
|
2439
2597
|
[
|
|
2440
2598
|
"s",
|
|
2441
2599
|
"scope <string>",
|
|
2442
|
-
"default scope for the
|
|
2600
|
+
"default scope for the new component"
|
|
2443
2601
|
],
|
|
2444
2602
|
[
|
|
2445
2603
|
"p",
|
|
2446
2604
|
"path <string>",
|
|
2447
|
-
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
2605
|
+
"relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>`"
|
|
2448
2606
|
],
|
|
2449
2607
|
[
|
|
2450
2608
|
"r",
|
|
2451
2609
|
"refactor",
|
|
2452
|
-
"
|
|
2610
|
+
"update the import/require statements in all dependent components (in the same workspace)"
|
|
2453
2611
|
]
|
|
2454
2612
|
],
|
|
2455
|
-
"description": "EXPERIMENTAL. create a new component out of an existing one",
|
|
2456
|
-
"extendedDescription": "
|
|
2613
|
+
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
|
2614
|
+
"extendedDescription": "",
|
|
2457
2615
|
"group": "collaborate",
|
|
2458
2616
|
"private": false,
|
|
2459
2617
|
"remoteOp": true,
|
|
2460
|
-
"skipWorkspace": true
|
|
2618
|
+
"skipWorkspace": true,
|
|
2619
|
+
"arguments": [
|
|
2620
|
+
{
|
|
2621
|
+
"name": "source-component-id",
|
|
2622
|
+
"description": "the component id of the source component"
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"name": "target-component-name",
|
|
2626
|
+
"description": "the name for the new component (component name without scope). to set a different scope, use the '--scope' flag"
|
|
2627
|
+
}
|
|
2628
|
+
]
|
|
2461
2629
|
},
|
|
2462
2630
|
{
|
|
2463
|
-
"name": "lane [name]",
|
|
2631
|
+
"name": "lane [lane-name]",
|
|
2464
2632
|
"alias": "",
|
|
2465
2633
|
"options": [
|
|
2466
2634
|
[
|
|
@@ -2508,11 +2676,11 @@
|
|
|
2508
2676
|
[
|
|
2509
2677
|
"j",
|
|
2510
2678
|
"json",
|
|
2511
|
-
"show lanes details in json format"
|
|
2679
|
+
"show lanes details in a json format"
|
|
2512
2680
|
],
|
|
2513
2681
|
[
|
|
2514
2682
|
"r",
|
|
2515
|
-
"remote <
|
|
2683
|
+
"remote <remote-scope-name>",
|
|
2516
2684
|
"show remote lanes"
|
|
2517
2685
|
],
|
|
2518
2686
|
[
|
|
@@ -2523,7 +2691,7 @@
|
|
|
2523
2691
|
[
|
|
2524
2692
|
"",
|
|
2525
2693
|
"not-merged",
|
|
2526
|
-
"show not merged
|
|
2694
|
+
"show lanes that are not merged"
|
|
2527
2695
|
]
|
|
2528
2696
|
],
|
|
2529
2697
|
"description": "list lanes",
|
|
@@ -2569,7 +2737,7 @@
|
|
|
2569
2737
|
"private": true
|
|
2570
2738
|
},
|
|
2571
2739
|
{
|
|
2572
|
-
"name": "show <name>",
|
|
2740
|
+
"name": "show <lane-name>",
|
|
2573
2741
|
"alias": "",
|
|
2574
2742
|
"options": [
|
|
2575
2743
|
[
|
|
@@ -2591,21 +2759,21 @@
|
|
|
2591
2759
|
"skipWorkspace": true
|
|
2592
2760
|
},
|
|
2593
2761
|
{
|
|
2594
|
-
"name": "create <name>",
|
|
2762
|
+
"name": "create <lane-name>",
|
|
2595
2763
|
"alias": "",
|
|
2596
2764
|
"options": [
|
|
2597
2765
|
[
|
|
2598
2766
|
"",
|
|
2599
|
-
"remote-scope <
|
|
2767
|
+
"remote-scope <scope-name>",
|
|
2600
2768
|
"remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")"
|
|
2601
2769
|
],
|
|
2602
2770
|
[
|
|
2603
2771
|
"",
|
|
2604
|
-
"alias <
|
|
2605
|
-
"a local alias to refer to this lane,
|
|
2772
|
+
"alias <name>",
|
|
2773
|
+
"a local alias to refer to this lane, defaults to the <lane-name> (can be added later with \"bit lane alias\")"
|
|
2606
2774
|
]
|
|
2607
2775
|
],
|
|
2608
|
-
"description": "
|
|
2776
|
+
"description": "creates a new lane and switches to it",
|
|
2609
2777
|
"extendedDescription": "a lane created from main (default-lane) is empty until components are snapped.\na lane created from another lane has all the components of the original lane.",
|
|
2610
2778
|
"group": "ungrouped",
|
|
2611
2779
|
"private": true
|
|
@@ -2616,7 +2784,7 @@
|
|
|
2616
2784
|
"options": [
|
|
2617
2785
|
[
|
|
2618
2786
|
"",
|
|
2619
|
-
"remote <name>",
|
|
2787
|
+
"remote <scope-name>",
|
|
2620
2788
|
"remote scope name"
|
|
2621
2789
|
],
|
|
2622
2790
|
[
|
|
@@ -2658,6 +2826,11 @@
|
|
|
2658
2826
|
"",
|
|
2659
2827
|
"keep-readme",
|
|
2660
2828
|
"skip deleting the lane readme component after merging"
|
|
2829
|
+
],
|
|
2830
|
+
[
|
|
2831
|
+
"",
|
|
2832
|
+
"squash",
|
|
2833
|
+
"squash multiple snaps. keep the last one only"
|
|
2661
2834
|
]
|
|
2662
2835
|
],
|
|
2663
2836
|
"description": "merge a local or a remote lane",
|
|
@@ -2667,7 +2840,7 @@
|
|
|
2667
2840
|
"remoteOp": true
|
|
2668
2841
|
},
|
|
2669
2842
|
{
|
|
2670
|
-
"name": "remove <
|
|
2843
|
+
"name": "remove <lanes...>",
|
|
2671
2844
|
"alias": "",
|
|
2672
2845
|
"options": [
|
|
2673
2846
|
[
|
|
@@ -2692,10 +2865,10 @@
|
|
|
2692
2865
|
"private": true
|
|
2693
2866
|
},
|
|
2694
2867
|
{
|
|
2695
|
-
"name": "change-scope <lane-name> <remote-scope>",
|
|
2868
|
+
"name": "change-scope <lane-name> <remote-scope-name>",
|
|
2696
2869
|
"alias": "",
|
|
2697
2870
|
"options": [],
|
|
2698
|
-
"description": "
|
|
2871
|
+
"description": "changes the remote scope of a lane",
|
|
2699
2872
|
"extendedDescription": "",
|
|
2700
2873
|
"group": "ungrouped",
|
|
2701
2874
|
"private": true
|
|
@@ -2704,7 +2877,7 @@
|
|
|
2704
2877
|
"name": "alias <lane-name> <alias>",
|
|
2705
2878
|
"alias": "",
|
|
2706
2879
|
"options": [],
|
|
2707
|
-
"description": "
|
|
2880
|
+
"description": "adds an alias to a lane",
|
|
2708
2881
|
"extendedDescription": "an alias is a name that can be used to refer to a lane. it is saved locally and never reach the remote.\nit is useful when having multiple lanes with the same name, but with different remote scopes.",
|
|
2709
2882
|
"group": "ungrouped",
|
|
2710
2883
|
"private": true
|
|
@@ -2730,10 +2903,10 @@
|
|
|
2730
2903
|
"skipWorkspace": true
|
|
2731
2904
|
},
|
|
2732
2905
|
{
|
|
2733
|
-
"name": "add-readme <
|
|
2906
|
+
"name": "add-readme <component-name> [lane-name]",
|
|
2734
2907
|
"alias": "",
|
|
2735
2908
|
"options": [],
|
|
2736
|
-
"description": "EXPERIMENTAL.
|
|
2909
|
+
"description": "EXPERIMENTAL. adds a readme component to a lane",
|
|
2737
2910
|
"extendedDescription": "",
|
|
2738
2911
|
"group": "ungrouped",
|
|
2739
2912
|
"private": true,
|
|
@@ -2822,7 +2995,7 @@
|
|
|
2822
2995
|
]
|
|
2823
2996
|
],
|
|
2824
2997
|
"description": "replaces the components from the local scope with the corresponding packages",
|
|
2825
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit eject \"org.scope/utils/**\"
|
|
2998
|
+
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit eject \"org.scope/utils/**\"`.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
2826
2999
|
"group": "development",
|
|
2827
3000
|
"private": false
|
|
2828
3001
|
},
|
|
@@ -2837,18 +3010,18 @@
|
|
|
2837
3010
|
"remoteOp": true
|
|
2838
3011
|
},
|
|
2839
3012
|
{
|
|
2840
|
-
"name": "export [remote] [
|
|
3013
|
+
"name": "export [remote] [component-names...]",
|
|
2841
3014
|
"alias": "e",
|
|
2842
3015
|
"options": [
|
|
2843
3016
|
[
|
|
2844
3017
|
"e",
|
|
2845
3018
|
"eject",
|
|
2846
|
-
"
|
|
3019
|
+
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
2847
3020
|
],
|
|
2848
3021
|
[
|
|
2849
3022
|
"a",
|
|
2850
3023
|
"all",
|
|
2851
|
-
"export all components
|
|
3024
|
+
"export all components, including non-staged"
|
|
2852
3025
|
],
|
|
2853
3026
|
[
|
|
2854
3027
|
"d",
|
|
@@ -2896,11 +3069,21 @@
|
|
|
2896
3069
|
"show output in json format"
|
|
2897
3070
|
]
|
|
2898
3071
|
],
|
|
2899
|
-
"description": "
|
|
3072
|
+
"description": "export components from the workspace to remote scopes",
|
|
2900
3073
|
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n`bit export [id...]` => export the given ids to their current scope\n\nhttps://bit.dev/docs/components/exporting-components\nyou can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2901
3074
|
"group": "collaborate",
|
|
2902
3075
|
"private": false,
|
|
2903
|
-
"remoteOp": true
|
|
3076
|
+
"remoteOp": true,
|
|
3077
|
+
"arguments": [
|
|
3078
|
+
{
|
|
3079
|
+
"name": "remote",
|
|
3080
|
+
"description": "LEGACY ONLY."
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "component-names...",
|
|
3084
|
+
"description": "a list of component names or component IDs (separated by space). By default, all new component versions are exported."
|
|
3085
|
+
}
|
|
3086
|
+
]
|
|
2904
3087
|
},
|
|
2905
3088
|
{
|
|
2906
3089
|
"name": "update-dependencies <data>",
|