@teambit/harmony.content.cli-reference 1.95.29 → 1.95.32
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 +334 -180
- package/cli-reference.mdx +159 -152
- package/dist/cli-reference.json +334 -180
- package/dist/cli-reference.mdx.js +153 -149
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.32.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1655177322725.js → preview-1655522887639.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.29.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": "",
|
|
@@ -997,23 +951,29 @@
|
|
|
997
951
|
"private": false
|
|
998
952
|
},
|
|
999
953
|
{
|
|
1000
|
-
"name": "use [ids...]",
|
|
954
|
+
"name": "use [component-ids...]",
|
|
1001
955
|
"alias": "",
|
|
1002
956
|
"options": [],
|
|
1003
|
-
"description": "set
|
|
957
|
+
"description": "set aspects in the workspace/scope config to make them loadable by the workspace/scope",
|
|
1004
958
|
"extendedDescription": "",
|
|
1005
959
|
"group": "collaborate",
|
|
1006
960
|
"private": false,
|
|
1007
|
-
"remoteOp": true
|
|
961
|
+
"remoteOp": true,
|
|
962
|
+
"arguments": [
|
|
963
|
+
{
|
|
964
|
+
"name": "component-ids...",
|
|
965
|
+
"description": "the component IDs of the aspects"
|
|
966
|
+
}
|
|
967
|
+
]
|
|
1008
968
|
},
|
|
1009
969
|
{
|
|
1010
|
-
"name": "show <
|
|
970
|
+
"name": "show <component-name>",
|
|
1011
971
|
"alias": "",
|
|
1012
972
|
"options": [
|
|
1013
973
|
[
|
|
1014
974
|
"j",
|
|
1015
975
|
"json",
|
|
1016
|
-
"return the component data in json format"
|
|
976
|
+
"return the component data in a json format"
|
|
1017
977
|
],
|
|
1018
978
|
[
|
|
1019
979
|
"l",
|
|
@@ -1028,34 +988,25 @@
|
|
|
1028
988
|
[
|
|
1029
989
|
"c",
|
|
1030
990
|
"compare",
|
|
1031
|
-
"compare current file system component to latest tagged component [default=latest]. only works in legacy."
|
|
991
|
+
"compare current file system component to the latest tagged component [default=latest]. only works in legacy."
|
|
1032
992
|
]
|
|
1033
993
|
],
|
|
1034
|
-
"description": "
|
|
994
|
+
"description": "display the component's essential information",
|
|
1035
995
|
"extendedDescription": "",
|
|
1036
996
|
"group": "info",
|
|
1037
|
-
"private": false
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
"j",
|
|
1045
|
-
"json",
|
|
1046
|
-
"json format"
|
|
1047
|
-
]
|
|
1048
|
-
],
|
|
1049
|
-
"description": "list all globals",
|
|
1050
|
-
"extendedDescription": "",
|
|
1051
|
-
"group": "workspace",
|
|
1052
|
-
"private": false
|
|
997
|
+
"private": false,
|
|
998
|
+
"arguments": [
|
|
999
|
+
{
|
|
1000
|
+
"name": "component-name",
|
|
1001
|
+
"description": "component name or component id"
|
|
1002
|
+
}
|
|
1003
|
+
]
|
|
1053
1004
|
},
|
|
1054
1005
|
{
|
|
1055
1006
|
"name": "envs",
|
|
1056
1007
|
"alias": "env",
|
|
1057
1008
|
"options": [],
|
|
1058
|
-
"description": "list all components envs",
|
|
1009
|
+
"description": "list all components maintained by the workspace and their corresponding envs",
|
|
1059
1010
|
"extendedDescription": "",
|
|
1060
1011
|
"group": "development",
|
|
1061
1012
|
"private": false,
|
|
@@ -1070,52 +1021,102 @@
|
|
|
1070
1021
|
"private": false
|
|
1071
1022
|
},
|
|
1072
1023
|
{
|
|
1073
|
-
"name": "get <name>",
|
|
1024
|
+
"name": "get <component-name>",
|
|
1074
1025
|
"alias": "",
|
|
1075
1026
|
"options": [],
|
|
1076
|
-
"description": "show component's env
|
|
1027
|
+
"description": "show information about a component's env",
|
|
1077
1028
|
"extendedDescription": "",
|
|
1078
1029
|
"group": "development",
|
|
1079
|
-
"private": false
|
|
1030
|
+
"private": false,
|
|
1031
|
+
"arguments": [
|
|
1032
|
+
{
|
|
1033
|
+
"name": "component-name",
|
|
1034
|
+
"description": "the 'component name' or 'component id' of the component its env you'd like to inspect"
|
|
1035
|
+
}
|
|
1036
|
+
]
|
|
1080
1037
|
},
|
|
1081
1038
|
{
|
|
1082
|
-
"name": "set <pattern> <env>",
|
|
1039
|
+
"name": "set <component-pattern> <env>",
|
|
1083
1040
|
"options": [],
|
|
1084
|
-
"description": "
|
|
1085
|
-
"
|
|
1086
|
-
"
|
|
1041
|
+
"description": "Sets one or more components with a development environment (env)",
|
|
1042
|
+
"group": "development",
|
|
1043
|
+
"arguments": [
|
|
1044
|
+
{
|
|
1045
|
+
"name": "component-pattern",
|
|
1046
|
+
"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"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "env",
|
|
1050
|
+
"description": "the env's component id (include version for non-core envs. e.g, `teambit.community/envs/community-react@1.95.13`)"
|
|
1051
|
+
}
|
|
1052
|
+
],
|
|
1053
|
+
"examples": [
|
|
1054
|
+
{
|
|
1055
|
+
"cmd": "set ui/button teambit.react/react",
|
|
1056
|
+
"description": "configures 'ui/button' to use the 'teambit.react/react' env"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"cmd": "set ui/button teambit.community/envs/community-mdx@1.95.16",
|
|
1060
|
+
"description": "configures 'ui/button' to use the (non-core) 'teambit.community/envs/community-mdx@1.95.16' env"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"cmd": "set \"ui/**\" teambit.react/react",
|
|
1064
|
+
"description": "configures all components that have the 'ui' namespace to use the teambit.react/react env"
|
|
1065
|
+
}
|
|
1066
|
+
]
|
|
1087
1067
|
},
|
|
1088
1068
|
{
|
|
1089
|
-
"name": "unset <pattern>",
|
|
1069
|
+
"name": "unset <component-pattern>",
|
|
1090
1070
|
"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"
|
|
1071
|
+
"description": "un-sets an env from components that were previously set by \"bit env set\" or by a component template",
|
|
1072
|
+
"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",
|
|
1073
|
+
"group": "development",
|
|
1074
|
+
"arguments": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "component-pattern",
|
|
1077
|
+
"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"
|
|
1078
|
+
}
|
|
1079
|
+
]
|
|
1094
1080
|
},
|
|
1095
1081
|
{
|
|
1096
|
-
"name": "replace <
|
|
1082
|
+
"name": "replace <current-env> <new-env>",
|
|
1097
1083
|
"options": [],
|
|
1098
1084
|
"description": "replace an existing env with another env for all components using the old env",
|
|
1099
1085
|
"group": "development",
|
|
1100
1086
|
"arguments": [
|
|
1101
1087
|
{
|
|
1102
|
-
"name": "
|
|
1103
|
-
"description": "
|
|
1088
|
+
"name": "current-env",
|
|
1089
|
+
"description": "the component id of the current env"
|
|
1104
1090
|
},
|
|
1105
1091
|
{
|
|
1106
1092
|
"name": "new-env",
|
|
1107
|
-
"description": "
|
|
1093
|
+
"description": "the component id of the new env"
|
|
1108
1094
|
}
|
|
1109
1095
|
],
|
|
1110
1096
|
"examples": [
|
|
1111
1097
|
{
|
|
1112
1098
|
"cmd": "replace teambit.harmony/aspect teambit.harmony/node",
|
|
1113
|
-
"description": "
|
|
1099
|
+
"description": "components configured to use the 'aspect' env will be configured to use the 'node' env, instead"
|
|
1114
1100
|
}
|
|
1115
1101
|
]
|
|
1116
1102
|
}
|
|
1117
1103
|
]
|
|
1118
1104
|
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "globals",
|
|
1107
|
+
"alias": "",
|
|
1108
|
+
"options": [
|
|
1109
|
+
[
|
|
1110
|
+
"j",
|
|
1111
|
+
"json",
|
|
1112
|
+
"json format"
|
|
1113
|
+
]
|
|
1114
|
+
],
|
|
1115
|
+
"description": "list all globals",
|
|
1116
|
+
"extendedDescription": "",
|
|
1117
|
+
"group": "workspace",
|
|
1118
|
+
"private": false
|
|
1119
|
+
},
|
|
1119
1120
|
{
|
|
1120
1121
|
"name": "start [type] [pattern]",
|
|
1121
1122
|
"alias": "c",
|
|
@@ -1127,7 +1128,7 @@
|
|
|
1127
1128
|
],
|
|
1128
1129
|
[
|
|
1129
1130
|
"p",
|
|
1130
|
-
"port [number]",
|
|
1131
|
+
"port [port-number]",
|
|
1131
1132
|
"port of the UI server."
|
|
1132
1133
|
],
|
|
1133
1134
|
[
|
|
@@ -1138,7 +1139,7 @@
|
|
|
1138
1139
|
[
|
|
1139
1140
|
"v",
|
|
1140
1141
|
"verbose",
|
|
1141
|
-
"
|
|
1142
|
+
"show verbose output for inspection and prints stack trace"
|
|
1142
1143
|
],
|
|
1143
1144
|
[
|
|
1144
1145
|
"",
|
|
@@ -1151,7 +1152,7 @@
|
|
|
1151
1152
|
"skip the auto-compilation before starting the web-server"
|
|
1152
1153
|
]
|
|
1153
1154
|
],
|
|
1154
|
-
"description": "
|
|
1155
|
+
"description": "run the ui/development server",
|
|
1155
1156
|
"extendedDescription": "",
|
|
1156
1157
|
"group": "development",
|
|
1157
1158
|
"private": false
|
|
@@ -1169,20 +1170,30 @@
|
|
|
1169
1170
|
"name": "scope <sub-command>",
|
|
1170
1171
|
"alias": "",
|
|
1171
1172
|
"options": [],
|
|
1172
|
-
"description": "EXPERIMENTAL. manage scope-name",
|
|
1173
|
+
"description": "EXPERIMENTAL. manage the scope-name for components",
|
|
1173
1174
|
"extendedDescription": "",
|
|
1174
1175
|
"group": "development",
|
|
1175
1176
|
"private": false,
|
|
1176
1177
|
"commands": [
|
|
1177
1178
|
{
|
|
1178
|
-
"name": "set <scope-name> [pattern]",
|
|
1179
|
+
"name": "set <scope-name> [component-pattern]",
|
|
1179
1180
|
"options": [],
|
|
1180
|
-
"description": "
|
|
1181
|
-
"extendedDescription": "set
|
|
1182
|
-
"group": "development"
|
|
1181
|
+
"description": "Sets components with a default-scope. If no component is specified, sets the workspace with a default scope",
|
|
1182
|
+
"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",
|
|
1183
|
+
"group": "development",
|
|
1184
|
+
"arguments": [
|
|
1185
|
+
{
|
|
1186
|
+
"name": "scope-name",
|
|
1187
|
+
"description": "the scope name to use as the default scope"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "component-pattern",
|
|
1191
|
+
"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"
|
|
1192
|
+
}
|
|
1193
|
+
]
|
|
1183
1194
|
},
|
|
1184
1195
|
{
|
|
1185
|
-
"name": "rename <
|
|
1196
|
+
"name": "rename <current-scope-name> <new-scope-name>",
|
|
1186
1197
|
"options": [
|
|
1187
1198
|
[
|
|
1188
1199
|
"r",
|
|
@@ -1190,8 +1201,18 @@
|
|
|
1190
1201
|
"change the source code of all components using the original scope-name with the new scope-name"
|
|
1191
1202
|
]
|
|
1192
1203
|
],
|
|
1193
|
-
"description": "
|
|
1194
|
-
"group": "development"
|
|
1204
|
+
"description": "Renames the scope name for all components with the specified 'current scope name'",
|
|
1205
|
+
"group": "development",
|
|
1206
|
+
"arguments": [
|
|
1207
|
+
{
|
|
1208
|
+
"name": "current-scope-name",
|
|
1209
|
+
"description": "the scope name to be replaced by another scope name"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"name": "new-scope-name",
|
|
1213
|
+
"description": "a new scope name to replace the current scope name"
|
|
1214
|
+
}
|
|
1215
|
+
]
|
|
1195
1216
|
},
|
|
1196
1217
|
{
|
|
1197
1218
|
"name": "fork <original-scope> <new-scope>",
|
|
@@ -1241,8 +1262,8 @@
|
|
|
1241
1262
|
"install all missing peer dependencies"
|
|
1242
1263
|
]
|
|
1243
1264
|
],
|
|
1244
|
-
"description": "
|
|
1245
|
-
"extendedDescription": "",
|
|
1265
|
+
"description": "installs workspace dependencies",
|
|
1266
|
+
"extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
|
|
1246
1267
|
"group": "development",
|
|
1247
1268
|
"private": false
|
|
1248
1269
|
},
|
|
@@ -1286,7 +1307,7 @@
|
|
|
1286
1307
|
]
|
|
1287
1308
|
],
|
|
1288
1309
|
"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/**\"
|
|
1310
|
+
"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
1311
|
"group": "development",
|
|
1291
1312
|
"private": false
|
|
1292
1313
|
},
|
|
@@ -1457,23 +1478,60 @@
|
|
|
1457
1478
|
]
|
|
1458
1479
|
],
|
|
1459
1480
|
"description": "list the component ids matching the given pattern",
|
|
1460
|
-
"extendedDescription": "",
|
|
1481
|
+
"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
1482
|
"group": "development",
|
|
1462
1483
|
"private": false
|
|
1463
1484
|
},
|
|
1464
1485
|
{
|
|
1465
|
-
"name": "
|
|
1486
|
+
"name": "list [remote-scope]",
|
|
1487
|
+
"alias": "ls",
|
|
1488
|
+
"options": [
|
|
1489
|
+
[
|
|
1490
|
+
"i",
|
|
1491
|
+
"ids",
|
|
1492
|
+
"show only component ids unformatted"
|
|
1493
|
+
],
|
|
1494
|
+
[
|
|
1495
|
+
"s",
|
|
1496
|
+
"scope",
|
|
1497
|
+
"show only components stored in the local scope, including indirect dependencies"
|
|
1498
|
+
],
|
|
1499
|
+
[
|
|
1500
|
+
"o",
|
|
1501
|
+
"outdated",
|
|
1502
|
+
"show latest versions from remotes"
|
|
1503
|
+
],
|
|
1504
|
+
[
|
|
1505
|
+
"j",
|
|
1506
|
+
"json",
|
|
1507
|
+
"show the output in JSON format"
|
|
1508
|
+
],
|
|
1509
|
+
[
|
|
1510
|
+
"n",
|
|
1511
|
+
"namespace <string>",
|
|
1512
|
+
"show only specified namespace by using wildcards"
|
|
1513
|
+
]
|
|
1514
|
+
],
|
|
1515
|
+
"description": "list components on a workspace, local scope or a remote scope.",
|
|
1516
|
+
"extendedDescription": "https://bit.dev/docs/reference/cli-reference#list",
|
|
1517
|
+
"group": "discover",
|
|
1518
|
+
"private": false,
|
|
1519
|
+
"remoteOp": true,
|
|
1520
|
+
"skipWorkspace": true
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"name": "import [component-ids...]",
|
|
1466
1524
|
"alias": "",
|
|
1467
1525
|
"options": [
|
|
1468
1526
|
[
|
|
1469
1527
|
"p",
|
|
1470
1528
|
"path <path>",
|
|
1471
|
-
"import components into a specific directory"
|
|
1529
|
+
"import components into a specific directory (a relative path in the workspace)"
|
|
1472
1530
|
],
|
|
1473
1531
|
[
|
|
1474
1532
|
"o",
|
|
1475
1533
|
"objects",
|
|
1476
|
-
"import components objects
|
|
1534
|
+
"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
1535
|
],
|
|
1478
1536
|
[
|
|
1479
1537
|
"d",
|
|
@@ -1488,7 +1546,7 @@
|
|
|
1488
1546
|
[
|
|
1489
1547
|
"v",
|
|
1490
1548
|
"verbose",
|
|
1491
|
-
"
|
|
1549
|
+
"show verbose output for inspection"
|
|
1492
1550
|
],
|
|
1493
1551
|
[
|
|
1494
1552
|
"j",
|
|
@@ -1498,7 +1556,7 @@
|
|
|
1498
1556
|
[
|
|
1499
1557
|
"",
|
|
1500
1558
|
"conf",
|
|
1501
|
-
"write the configuration file (component.json) of the component
|
|
1559
|
+
"write the configuration file (component.json) of the component"
|
|
1502
1560
|
],
|
|
1503
1561
|
[
|
|
1504
1562
|
"",
|
|
@@ -1536,14 +1594,20 @@
|
|
|
1536
1594
|
"relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
|
|
1537
1595
|
]
|
|
1538
1596
|
],
|
|
1539
|
-
"description": "import components
|
|
1597
|
+
"description": "import components from remote scopes to the local workspace",
|
|
1540
1598
|
"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
1599
|
"group": "collaborate",
|
|
1542
1600
|
"private": false,
|
|
1543
|
-
"remoteOp": true
|
|
1601
|
+
"remoteOp": true,
|
|
1602
|
+
"arguments": [
|
|
1603
|
+
{
|
|
1604
|
+
"name": "component-ids...",
|
|
1605
|
+
"description": "a list of component IDs (separated by space) to import"
|
|
1606
|
+
}
|
|
1607
|
+
]
|
|
1544
1608
|
},
|
|
1545
1609
|
{
|
|
1546
|
-
"name": "create <
|
|
1610
|
+
"name": "create <template-name> <component-names...>",
|
|
1547
1611
|
"alias": "",
|
|
1548
1612
|
"options": [
|
|
1549
1613
|
[
|
|
@@ -1572,10 +1636,28 @@
|
|
|
1572
1636
|
"set the component's environment. (overrides the env from variants and the template)"
|
|
1573
1637
|
]
|
|
1574
1638
|
],
|
|
1575
|
-
"description": "create a new component
|
|
1639
|
+
"description": "create a new component (source files and config) using a template.",
|
|
1576
1640
|
"extendedDescription": "",
|
|
1577
1641
|
"group": "development",
|
|
1578
|
-
"private": false
|
|
1642
|
+
"private": false,
|
|
1643
|
+
"examples": [
|
|
1644
|
+
{
|
|
1645
|
+
"cmd": "bit create react ui/button",
|
|
1646
|
+
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"cmd": "bit create react ui/button pages/register",
|
|
1650
|
+
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
1654
|
+
"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`."
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
1658
|
+
"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')."
|
|
1659
|
+
}
|
|
1660
|
+
]
|
|
1579
1661
|
},
|
|
1580
1662
|
{
|
|
1581
1663
|
"name": "templates",
|
|
@@ -1593,17 +1675,17 @@
|
|
|
1593
1675
|
"private": false
|
|
1594
1676
|
},
|
|
1595
1677
|
{
|
|
1596
|
-
"name": "new <
|
|
1678
|
+
"name": "new <template-name> <workspace-name>",
|
|
1597
1679
|
"alias": "",
|
|
1598
1680
|
"options": [
|
|
1599
1681
|
[
|
|
1600
1682
|
"a",
|
|
1601
|
-
"aspect <
|
|
1683
|
+
"aspect <aspect-id>",
|
|
1602
1684
|
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1603
1685
|
],
|
|
1604
1686
|
[
|
|
1605
1687
|
"d",
|
|
1606
|
-
"default-scope <
|
|
1688
|
+
"default-scope <scope-name>",
|
|
1607
1689
|
"set defaultScope in the new workspace.jsonc"
|
|
1608
1690
|
],
|
|
1609
1691
|
[
|
|
@@ -1623,17 +1705,27 @@
|
|
|
1623
1705
|
],
|
|
1624
1706
|
[
|
|
1625
1707
|
"",
|
|
1626
|
-
"load-from <
|
|
1708
|
+
"load-from <path-to-template>",
|
|
1627
1709
|
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
1628
1710
|
]
|
|
1629
1711
|
],
|
|
1630
|
-
"description": "
|
|
1712
|
+
"description": "create a new workspace from a template",
|
|
1631
1713
|
"extendedDescription": "",
|
|
1632
1714
|
"group": "start",
|
|
1633
|
-
"private": false
|
|
1715
|
+
"private": false,
|
|
1716
|
+
"arguments": [
|
|
1717
|
+
{
|
|
1718
|
+
"name": "template-name",
|
|
1719
|
+
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"name": "workspace-name",
|
|
1723
|
+
"description": "the name for the new workspace and workspace directory"
|
|
1724
|
+
}
|
|
1725
|
+
]
|
|
1634
1726
|
},
|
|
1635
1727
|
{
|
|
1636
|
-
"name": "build [pattern]",
|
|
1728
|
+
"name": "build [component-pattern]",
|
|
1637
1729
|
"alias": "",
|
|
1638
1730
|
"options": [
|
|
1639
1731
|
[
|
|
@@ -1675,7 +1767,13 @@
|
|
|
1675
1767
|
"description": "run set of tasks for build",
|
|
1676
1768
|
"extendedDescription": "",
|
|
1677
1769
|
"group": "development",
|
|
1678
|
-
"private": false
|
|
1770
|
+
"private": false,
|
|
1771
|
+
"arguments": [
|
|
1772
|
+
{
|
|
1773
|
+
"name": "component-pattern",
|
|
1774
|
+
"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"
|
|
1775
|
+
}
|
|
1776
|
+
]
|
|
1679
1777
|
},
|
|
1680
1778
|
{
|
|
1681
1779
|
"name": "artifacts <pattern...>",
|
|
@@ -1823,13 +1921,13 @@
|
|
|
1823
1921
|
"private": true
|
|
1824
1922
|
},
|
|
1825
1923
|
{
|
|
1826
|
-
"name": "tag [
|
|
1924
|
+
"name": "tag [patterns...]",
|
|
1827
1925
|
"alias": "t",
|
|
1828
1926
|
"options": [
|
|
1829
1927
|
[
|
|
1830
1928
|
"m",
|
|
1831
1929
|
"message <message>",
|
|
1832
|
-
"log message describing
|
|
1930
|
+
"a log message describing latest changes"
|
|
1833
1931
|
],
|
|
1834
1932
|
[
|
|
1835
1933
|
"",
|
|
@@ -1839,7 +1937,7 @@
|
|
|
1839
1937
|
[
|
|
1840
1938
|
"",
|
|
1841
1939
|
"editor [editor]",
|
|
1842
|
-
"EXPERIMENTAL. open an editor to
|
|
1940
|
+
"EXPERIMENTAL. open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
1843
1941
|
],
|
|
1844
1942
|
[
|
|
1845
1943
|
"v",
|
|
@@ -1952,11 +2050,17 @@
|
|
|
1952
2050
|
"DEPRECATED. use --disable-tag-pipeline instead"
|
|
1953
2051
|
]
|
|
1954
2052
|
],
|
|
1955
|
-
"description": "
|
|
1956
|
-
"extendedDescription": "if no
|
|
2053
|
+
"description": "create an immutable and exportable component snapshot, tagged with a release version.",
|
|
2054
|
+
"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",
|
|
1957
2055
|
"group": "development",
|
|
1958
2056
|
"private": false,
|
|
1959
2057
|
"remoteOp": true,
|
|
2058
|
+
"arguments": [
|
|
2059
|
+
{
|
|
2060
|
+
"name": "patterns...",
|
|
2061
|
+
"description": "a list of patterns (separated by space). run \"bit pattern --help\" to get more data about patterns. By default, all modified are tagged."
|
|
2062
|
+
}
|
|
2063
|
+
],
|
|
1960
2064
|
"examples": [
|
|
1961
2065
|
{
|
|
1962
2066
|
"cmd": "tag --ver 1.0.0",
|
|
@@ -1965,13 +2069,13 @@
|
|
|
1965
2069
|
]
|
|
1966
2070
|
},
|
|
1967
2071
|
{
|
|
1968
|
-
"name": "snap [
|
|
2072
|
+
"name": "snap [component-name]",
|
|
1969
2073
|
"alias": "",
|
|
1970
2074
|
"options": [
|
|
1971
2075
|
[
|
|
1972
2076
|
"m",
|
|
1973
2077
|
"message <message>",
|
|
1974
|
-
"log message describing the
|
|
2078
|
+
"log message describing the latest changes"
|
|
1975
2079
|
],
|
|
1976
2080
|
[
|
|
1977
2081
|
"",
|
|
@@ -2019,10 +2123,16 @@
|
|
|
2019
2123
|
"DEPRECATED (use \"--skip-tests\" or \"--unmodified\" instead). force-snap even if tests are failing and even when component has not changed"
|
|
2020
2124
|
]
|
|
2021
2125
|
],
|
|
2022
|
-
"description": "EXPERIMENTAL.
|
|
2126
|
+
"description": "EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)",
|
|
2023
2127
|
"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)",
|
|
2024
2128
|
"group": "ungrouped",
|
|
2025
|
-
"private": true
|
|
2129
|
+
"private": true,
|
|
2130
|
+
"arguments": [
|
|
2131
|
+
{
|
|
2132
|
+
"name": "component_name",
|
|
2133
|
+
"description": "component names or component ID (defaults to all components)"
|
|
2134
|
+
}
|
|
2135
|
+
]
|
|
2026
2136
|
},
|
|
2027
2137
|
{
|
|
2028
2138
|
"name": "merge [values...]",
|
|
@@ -2089,13 +2199,13 @@
|
|
|
2089
2199
|
"in case issues found, exit with code 1"
|
|
2090
2200
|
]
|
|
2091
2201
|
],
|
|
2092
|
-
"description": "
|
|
2093
|
-
"extendedDescription": "
|
|
2202
|
+
"description": "present the current status of components in the workspace, and notifies when issues are detected",
|
|
2203
|
+
"extendedDescription": "",
|
|
2094
2204
|
"group": "development",
|
|
2095
2205
|
"private": false
|
|
2096
2206
|
},
|
|
2097
2207
|
{
|
|
2098
|
-
"name": "compile [component...]",
|
|
2208
|
+
"name": "compile [component-names...]",
|
|
2099
2209
|
"alias": "",
|
|
2100
2210
|
"options": [
|
|
2101
2211
|
[
|
|
@@ -2119,13 +2229,19 @@
|
|
|
2119
2229
|
"delete existing dist folder before writing new compiled files"
|
|
2120
2230
|
]
|
|
2121
2231
|
],
|
|
2122
|
-
"description": "compile components in the
|
|
2232
|
+
"description": "compile components in the workspace",
|
|
2123
2233
|
"extendedDescription": "",
|
|
2124
2234
|
"group": "development",
|
|
2125
|
-
"private": false
|
|
2235
|
+
"private": false,
|
|
2236
|
+
"arguments": [
|
|
2237
|
+
{
|
|
2238
|
+
"name": "component-names...",
|
|
2239
|
+
"description": "a list of component names or component IDs (defaults to all components)"
|
|
2240
|
+
}
|
|
2241
|
+
]
|
|
2126
2242
|
},
|
|
2127
2243
|
{
|
|
2128
|
-
"name": "run <app>",
|
|
2244
|
+
"name": "run <app-name>",
|
|
2129
2245
|
"alias": "c",
|
|
2130
2246
|
"options": [
|
|
2131
2247
|
[
|
|
@@ -2144,10 +2260,16 @@
|
|
|
2144
2260
|
"avoid running the watch process that compiles components in the background"
|
|
2145
2261
|
]
|
|
2146
2262
|
],
|
|
2147
|
-
"description": "run an
|
|
2263
|
+
"description": "run an app (independent of bit's dev server)",
|
|
2148
2264
|
"extendedDescription": "",
|
|
2149
2265
|
"group": "apps",
|
|
2150
|
-
"private": false
|
|
2266
|
+
"private": false,
|
|
2267
|
+
"arguments": [
|
|
2268
|
+
{
|
|
2269
|
+
"name": "app-name",
|
|
2270
|
+
"description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
|
|
2271
|
+
}
|
|
2272
|
+
]
|
|
2151
2273
|
},
|
|
2152
2274
|
{
|
|
2153
2275
|
"name": "app-list",
|
|
@@ -2168,7 +2290,7 @@
|
|
|
2168
2290
|
"name": "app <sub-command>",
|
|
2169
2291
|
"alias": "",
|
|
2170
2292
|
"options": [],
|
|
2171
|
-
"description": "
|
|
2293
|
+
"description": "Manages apps",
|
|
2172
2294
|
"extendedDescription": "",
|
|
2173
2295
|
"group": "apps",
|
|
2174
2296
|
"private": false,
|
|
@@ -2183,7 +2305,7 @@
|
|
|
2183
2305
|
"return the component data in json format"
|
|
2184
2306
|
]
|
|
2185
2307
|
],
|
|
2186
|
-
"description": "list all registered
|
|
2308
|
+
"description": "list all registered apps",
|
|
2187
2309
|
"extendedDescription": "",
|
|
2188
2310
|
"group": "apps",
|
|
2189
2311
|
"private": false
|
|
@@ -2191,7 +2313,7 @@
|
|
|
2191
2313
|
]
|
|
2192
2314
|
},
|
|
2193
2315
|
{
|
|
2194
|
-
"name": "test [pattern]",
|
|
2316
|
+
"name": "test [component-pattern]",
|
|
2195
2317
|
"alias": "at",
|
|
2196
2318
|
"options": [
|
|
2197
2319
|
[
|
|
@@ -2226,14 +2348,20 @@
|
|
|
2226
2348
|
],
|
|
2227
2349
|
[
|
|
2228
2350
|
"s",
|
|
2229
|
-
"scope <scope>",
|
|
2230
|
-
"name of the scope to test"
|
|
2351
|
+
"scope <scope-name>",
|
|
2352
|
+
"DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
|
|
2231
2353
|
]
|
|
2232
2354
|
],
|
|
2233
|
-
"description": "test
|
|
2355
|
+
"description": "test components in the workspace",
|
|
2234
2356
|
"extendedDescription": "",
|
|
2235
2357
|
"group": "development",
|
|
2236
|
-
"private": false
|
|
2358
|
+
"private": false,
|
|
2359
|
+
"arguments": [
|
|
2360
|
+
{
|
|
2361
|
+
"name": "component-pattern",
|
|
2362
|
+
"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"
|
|
2363
|
+
}
|
|
2364
|
+
]
|
|
2237
2365
|
},
|
|
2238
2366
|
{
|
|
2239
2367
|
"name": "schema <pattern>",
|
|
@@ -2246,12 +2374,12 @@
|
|
|
2246
2374
|
]
|
|
2247
2375
|
],
|
|
2248
2376
|
"description": "shows the API schema of a certain component.",
|
|
2249
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"
|
|
2377
|
+
"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",
|
|
2250
2378
|
"group": "development",
|
|
2251
2379
|
"private": false
|
|
2252
2380
|
},
|
|
2253
2381
|
{
|
|
2254
|
-
"name": "check-types [pattern]",
|
|
2382
|
+
"name": "check-types [component-pattern]",
|
|
2255
2383
|
"alias": "",
|
|
2256
2384
|
"options": [
|
|
2257
2385
|
[
|
|
@@ -2268,7 +2396,13 @@
|
|
|
2268
2396
|
"description": "check typescript types",
|
|
2269
2397
|
"extendedDescription": "",
|
|
2270
2398
|
"group": "development",
|
|
2271
|
-
"private": false
|
|
2399
|
+
"private": false,
|
|
2400
|
+
"arguments": [
|
|
2401
|
+
{
|
|
2402
|
+
"name": "component-pattern",
|
|
2403
|
+
"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"
|
|
2404
|
+
}
|
|
2405
|
+
]
|
|
2272
2406
|
},
|
|
2273
2407
|
{
|
|
2274
2408
|
"name": "aspect <sub-command>",
|
|
@@ -2290,7 +2424,7 @@
|
|
|
2290
2424
|
]
|
|
2291
2425
|
],
|
|
2292
2426
|
"description": "list all aspects configured on component(s)",
|
|
2293
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit aspect list \"org.scope/utils/**\"
|
|
2427
|
+
"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",
|
|
2294
2428
|
"group": "development",
|
|
2295
2429
|
"private": false
|
|
2296
2430
|
},
|
|
@@ -2319,7 +2453,7 @@
|
|
|
2319
2453
|
"alias": "",
|
|
2320
2454
|
"options": [],
|
|
2321
2455
|
"description": "set an aspect to component(s) with optional config.",
|
|
2322
|
-
"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/**\"
|
|
2456
|
+
"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",
|
|
2323
2457
|
"group": "development",
|
|
2324
2458
|
"private": false
|
|
2325
2459
|
},
|
|
@@ -2328,7 +2462,7 @@
|
|
|
2328
2462
|
"alias": "",
|
|
2329
2463
|
"options": [],
|
|
2330
2464
|
"description": "unset an aspect from component(s).",
|
|
2331
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit aspect unset \"org.scope/utils/**\"
|
|
2465
|
+
"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",
|
|
2332
2466
|
"group": "development",
|
|
2333
2467
|
"private": false
|
|
2334
2468
|
},
|
|
@@ -2337,7 +2471,7 @@
|
|
|
2337
2471
|
"alias": "",
|
|
2338
2472
|
"options": [],
|
|
2339
2473
|
"description": "update a version of an aspect",
|
|
2340
|
-
"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/**\"
|
|
2474
|
+
"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.",
|
|
2341
2475
|
"group": "development",
|
|
2342
2476
|
"private": false
|
|
2343
2477
|
}
|
|
@@ -2448,34 +2582,44 @@
|
|
|
2448
2582
|
"skipWorkspace": true
|
|
2449
2583
|
},
|
|
2450
2584
|
{
|
|
2451
|
-
"name": "fork <source-id> [target-name]",
|
|
2585
|
+
"name": "fork <source-component-id> [target-component-name]",
|
|
2452
2586
|
"alias": "",
|
|
2453
2587
|
"options": [
|
|
2454
2588
|
[
|
|
2455
2589
|
"s",
|
|
2456
2590
|
"scope <string>",
|
|
2457
|
-
"default scope for the
|
|
2591
|
+
"default scope for the new component"
|
|
2458
2592
|
],
|
|
2459
2593
|
[
|
|
2460
2594
|
"p",
|
|
2461
2595
|
"path <string>",
|
|
2462
|
-
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
2596
|
+
"relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>`"
|
|
2463
2597
|
],
|
|
2464
2598
|
[
|
|
2465
2599
|
"r",
|
|
2466
2600
|
"refactor",
|
|
2467
|
-
"
|
|
2601
|
+
"update the import/require statements in all dependent components (in the same workspace)"
|
|
2468
2602
|
]
|
|
2469
2603
|
],
|
|
2470
|
-
"description": "EXPERIMENTAL. create a new component out of an existing one",
|
|
2471
|
-
"extendedDescription": "
|
|
2604
|
+
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
|
2605
|
+
"extendedDescription": "",
|
|
2472
2606
|
"group": "collaborate",
|
|
2473
2607
|
"private": false,
|
|
2474
2608
|
"remoteOp": true,
|
|
2475
|
-
"skipWorkspace": true
|
|
2609
|
+
"skipWorkspace": true,
|
|
2610
|
+
"arguments": [
|
|
2611
|
+
{
|
|
2612
|
+
"name": "source-component-id",
|
|
2613
|
+
"description": "the component id of the source component"
|
|
2614
|
+
},
|
|
2615
|
+
{
|
|
2616
|
+
"name": "target-component-name",
|
|
2617
|
+
"description": "the name for the new component (component name without scope). to set a different scope, use the '--scope' flag"
|
|
2618
|
+
}
|
|
2619
|
+
]
|
|
2476
2620
|
},
|
|
2477
2621
|
{
|
|
2478
|
-
"name": "lane [name]",
|
|
2622
|
+
"name": "lane [lane-name]",
|
|
2479
2623
|
"alias": "",
|
|
2480
2624
|
"options": [
|
|
2481
2625
|
[
|
|
@@ -2523,11 +2667,11 @@
|
|
|
2523
2667
|
[
|
|
2524
2668
|
"j",
|
|
2525
2669
|
"json",
|
|
2526
|
-
"show lanes details in json format"
|
|
2670
|
+
"show lanes details in a json format"
|
|
2527
2671
|
],
|
|
2528
2672
|
[
|
|
2529
2673
|
"r",
|
|
2530
|
-
"remote <
|
|
2674
|
+
"remote <remote-scope-name>",
|
|
2531
2675
|
"show remote lanes"
|
|
2532
2676
|
],
|
|
2533
2677
|
[
|
|
@@ -2538,7 +2682,7 @@
|
|
|
2538
2682
|
[
|
|
2539
2683
|
"",
|
|
2540
2684
|
"not-merged",
|
|
2541
|
-
"show not merged
|
|
2685
|
+
"show lanes that are not merged"
|
|
2542
2686
|
]
|
|
2543
2687
|
],
|
|
2544
2688
|
"description": "list lanes",
|
|
@@ -2584,7 +2728,7 @@
|
|
|
2584
2728
|
"private": true
|
|
2585
2729
|
},
|
|
2586
2730
|
{
|
|
2587
|
-
"name": "show <name>",
|
|
2731
|
+
"name": "show <lane-name>",
|
|
2588
2732
|
"alias": "",
|
|
2589
2733
|
"options": [
|
|
2590
2734
|
[
|
|
@@ -2606,21 +2750,21 @@
|
|
|
2606
2750
|
"skipWorkspace": true
|
|
2607
2751
|
},
|
|
2608
2752
|
{
|
|
2609
|
-
"name": "create <name>",
|
|
2753
|
+
"name": "create <lane-name>",
|
|
2610
2754
|
"alias": "",
|
|
2611
2755
|
"options": [
|
|
2612
2756
|
[
|
|
2613
2757
|
"",
|
|
2614
|
-
"remote-scope <
|
|
2758
|
+
"remote-scope <scope-name>",
|
|
2615
2759
|
"remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")"
|
|
2616
2760
|
],
|
|
2617
2761
|
[
|
|
2618
2762
|
"",
|
|
2619
|
-
"alias <
|
|
2620
|
-
"a local alias to refer to this lane,
|
|
2763
|
+
"alias <name>",
|
|
2764
|
+
"a local alias to refer to this lane, defaults to the <lane-name> (can be added later with \"bit lane alias\")"
|
|
2621
2765
|
]
|
|
2622
2766
|
],
|
|
2623
|
-
"description": "
|
|
2767
|
+
"description": "creates a new lane and switches to it",
|
|
2624
2768
|
"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.",
|
|
2625
2769
|
"group": "ungrouped",
|
|
2626
2770
|
"private": true
|
|
@@ -2631,7 +2775,7 @@
|
|
|
2631
2775
|
"options": [
|
|
2632
2776
|
[
|
|
2633
2777
|
"",
|
|
2634
|
-
"remote <name>",
|
|
2778
|
+
"remote <scope-name>",
|
|
2635
2779
|
"remote scope name"
|
|
2636
2780
|
],
|
|
2637
2781
|
[
|
|
@@ -2687,7 +2831,7 @@
|
|
|
2687
2831
|
"remoteOp": true
|
|
2688
2832
|
},
|
|
2689
2833
|
{
|
|
2690
|
-
"name": "remove <
|
|
2834
|
+
"name": "remove <lanes...>",
|
|
2691
2835
|
"alias": "",
|
|
2692
2836
|
"options": [
|
|
2693
2837
|
[
|
|
@@ -2712,10 +2856,10 @@
|
|
|
2712
2856
|
"private": true
|
|
2713
2857
|
},
|
|
2714
2858
|
{
|
|
2715
|
-
"name": "change-scope <lane-name> <remote-scope>",
|
|
2859
|
+
"name": "change-scope <lane-name> <remote-scope-name>",
|
|
2716
2860
|
"alias": "",
|
|
2717
2861
|
"options": [],
|
|
2718
|
-
"description": "
|
|
2862
|
+
"description": "changes the remote scope of a lane",
|
|
2719
2863
|
"extendedDescription": "",
|
|
2720
2864
|
"group": "ungrouped",
|
|
2721
2865
|
"private": true
|
|
@@ -2724,7 +2868,7 @@
|
|
|
2724
2868
|
"name": "alias <lane-name> <alias>",
|
|
2725
2869
|
"alias": "",
|
|
2726
2870
|
"options": [],
|
|
2727
|
-
"description": "
|
|
2871
|
+
"description": "adds an alias to a lane",
|
|
2728
2872
|
"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.",
|
|
2729
2873
|
"group": "ungrouped",
|
|
2730
2874
|
"private": true
|
|
@@ -2750,10 +2894,10 @@
|
|
|
2750
2894
|
"skipWorkspace": true
|
|
2751
2895
|
},
|
|
2752
2896
|
{
|
|
2753
|
-
"name": "add-readme <
|
|
2897
|
+
"name": "add-readme <component-name> [lane-name]",
|
|
2754
2898
|
"alias": "",
|
|
2755
2899
|
"options": [],
|
|
2756
|
-
"description": "EXPERIMENTAL.
|
|
2900
|
+
"description": "EXPERIMENTAL. adds a readme component to a lane",
|
|
2757
2901
|
"extendedDescription": "",
|
|
2758
2902
|
"group": "ungrouped",
|
|
2759
2903
|
"private": true,
|
|
@@ -2842,7 +2986,7 @@
|
|
|
2842
2986
|
]
|
|
2843
2987
|
],
|
|
2844
2988
|
"description": "replaces the components from the local scope with the corresponding packages",
|
|
2845
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit eject \"org.scope/utils/**\"
|
|
2989
|
+
"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",
|
|
2846
2990
|
"group": "development",
|
|
2847
2991
|
"private": false
|
|
2848
2992
|
},
|
|
@@ -2857,18 +3001,18 @@
|
|
|
2857
3001
|
"remoteOp": true
|
|
2858
3002
|
},
|
|
2859
3003
|
{
|
|
2860
|
-
"name": "export [remote] [
|
|
3004
|
+
"name": "export [remote] [component-names...]",
|
|
2861
3005
|
"alias": "e",
|
|
2862
3006
|
"options": [
|
|
2863
3007
|
[
|
|
2864
3008
|
"e",
|
|
2865
3009
|
"eject",
|
|
2866
|
-
"
|
|
3010
|
+
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
2867
3011
|
],
|
|
2868
3012
|
[
|
|
2869
3013
|
"a",
|
|
2870
3014
|
"all",
|
|
2871
|
-
"export all components
|
|
3015
|
+
"export all components, including non-staged"
|
|
2872
3016
|
],
|
|
2873
3017
|
[
|
|
2874
3018
|
"d",
|
|
@@ -2916,11 +3060,21 @@
|
|
|
2916
3060
|
"show output in json format"
|
|
2917
3061
|
]
|
|
2918
3062
|
],
|
|
2919
|
-
"description": "
|
|
3063
|
+
"description": "export components from the workspace to remote scopes",
|
|
2920
3064
|
"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)",
|
|
2921
3065
|
"group": "collaborate",
|
|
2922
3066
|
"private": false,
|
|
2923
|
-
"remoteOp": true
|
|
3067
|
+
"remoteOp": true,
|
|
3068
|
+
"arguments": [
|
|
3069
|
+
{
|
|
3070
|
+
"name": "remote",
|
|
3071
|
+
"description": "LEGACY ONLY."
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"name": "component-names...",
|
|
3075
|
+
"description": "a list of component names or component IDs (separated by space). By default, all new component versions are exported."
|
|
3076
|
+
}
|
|
3077
|
+
]
|
|
2924
3078
|
},
|
|
2925
3079
|
{
|
|
2926
3080
|
"name": "update-dependencies <data>",
|