@teambit/harmony.content.cli-reference 2.0.322 → 2.0.324
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.docs.mdx +1 -1
- package/cli-reference.json +256 -291
- package/cli-reference.mdx +10 -35
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +256 -291
- package/dist/cli-reference.mdx.js +60 -34
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1719458409904.js → preview-1719631375170.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1,52 +1,4 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"name": "config",
|
|
4
|
-
"alias": "",
|
|
5
|
-
"options": [],
|
|
6
|
-
"description": "global config management",
|
|
7
|
-
"extendedDescription": "https://bit.dev/reference/config/bit-config",
|
|
8
|
-
"group": "general",
|
|
9
|
-
"private": false,
|
|
10
|
-
"commands": [
|
|
11
|
-
{
|
|
12
|
-
"name": "set <key> <val>",
|
|
13
|
-
"alias": "",
|
|
14
|
-
"options": [],
|
|
15
|
-
"description": "set a global configuration",
|
|
16
|
-
"extendedDescription": "to set temporary configuration by env variable, prefix with \"BIT_CONFIG\", replace \".\" with \"_\" and change to upper case.\nfor example, \"user.token\" becomes \"BIT_CONFIG_USER_TOKEN\"",
|
|
17
|
-
"group": "ungrouped",
|
|
18
|
-
"private": false,
|
|
19
|
-
"skipWorkspace": true
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "del <key>",
|
|
23
|
-
"alias": "",
|
|
24
|
-
"options": [],
|
|
25
|
-
"description": "delete given key from global configuration",
|
|
26
|
-
"extendedDescription": "",
|
|
27
|
-
"group": "ungrouped",
|
|
28
|
-
"private": false
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "get <key>",
|
|
32
|
-
"alias": "",
|
|
33
|
-
"options": [],
|
|
34
|
-
"description": "get a value from global configuration",
|
|
35
|
-
"extendedDescription": "",
|
|
36
|
-
"group": "ungrouped",
|
|
37
|
-
"private": false
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "list",
|
|
41
|
-
"alias": "",
|
|
42
|
-
"options": [],
|
|
43
|
-
"description": "list all configuration(s)",
|
|
44
|
-
"extendedDescription": "",
|
|
45
|
-
"group": "ungrouped",
|
|
46
|
-
"private": false
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
2
|
{
|
|
51
3
|
"name": "remote",
|
|
52
4
|
"alias": "",
|
|
@@ -94,205 +46,6 @@
|
|
|
94
46
|
}
|
|
95
47
|
]
|
|
96
48
|
},
|
|
97
|
-
{
|
|
98
|
-
"name": "cat-object <hash>",
|
|
99
|
-
"alias": "",
|
|
100
|
-
"options": [
|
|
101
|
-
[
|
|
102
|
-
"p",
|
|
103
|
-
"pretty",
|
|
104
|
-
"pretty print for the objects"
|
|
105
|
-
],
|
|
106
|
-
[
|
|
107
|
-
"s",
|
|
108
|
-
"stringify",
|
|
109
|
-
"JSON.stringify the object to see special characters, such as \"\n\""
|
|
110
|
-
],
|
|
111
|
-
[
|
|
112
|
-
"",
|
|
113
|
-
"headers",
|
|
114
|
-
"shows the headers only"
|
|
115
|
-
]
|
|
116
|
-
],
|
|
117
|
-
"description": "cat a bit object by hash",
|
|
118
|
-
"extendedDescription": "",
|
|
119
|
-
"group": "ungrouped",
|
|
120
|
-
"private": true
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "cat-component [id]",
|
|
124
|
-
"alias": "cmp",
|
|
125
|
-
"options": [
|
|
126
|
-
[
|
|
127
|
-
"j",
|
|
128
|
-
"json",
|
|
129
|
-
"json format"
|
|
130
|
-
]
|
|
131
|
-
],
|
|
132
|
-
"description": "cat a bit object by component-id",
|
|
133
|
-
"extendedDescription": "",
|
|
134
|
-
"group": "ungrouped",
|
|
135
|
-
"private": true
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"name": "cat-lane <id>",
|
|
139
|
-
"alias": "cl",
|
|
140
|
-
"options": [],
|
|
141
|
-
"description": "cat a bit object by lane-name",
|
|
142
|
-
"extendedDescription": "",
|
|
143
|
-
"group": "ungrouped",
|
|
144
|
-
"private": true
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "dependents <component-name>",
|
|
148
|
-
"alias": "",
|
|
149
|
-
"options": [],
|
|
150
|
-
"description": "show dependents of the given component",
|
|
151
|
-
"extendedDescription": "",
|
|
152
|
-
"group": "info",
|
|
153
|
-
"private": false
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"name": "cat-scope [scopePath]",
|
|
157
|
-
"alias": "",
|
|
158
|
-
"options": [
|
|
159
|
-
[
|
|
160
|
-
"f",
|
|
161
|
-
"full",
|
|
162
|
-
"show all of the objects in the scope (except \"Source\")"
|
|
163
|
-
],
|
|
164
|
-
[
|
|
165
|
-
"j",
|
|
166
|
-
"json",
|
|
167
|
-
"print the objects as a json format"
|
|
168
|
-
],
|
|
169
|
-
[
|
|
170
|
-
"e",
|
|
171
|
-
"json-extra",
|
|
172
|
-
"add hash and object type to the json"
|
|
173
|
-
]
|
|
174
|
-
],
|
|
175
|
-
"description": "cat a scope and show all the contents",
|
|
176
|
-
"extendedDescription": "",
|
|
177
|
-
"group": "ungrouped",
|
|
178
|
-
"private": true
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"name": "cat-version-history <id>",
|
|
182
|
-
"alias": "cvh",
|
|
183
|
-
"options": [
|
|
184
|
-
[
|
|
185
|
-
"j",
|
|
186
|
-
"json",
|
|
187
|
-
"json format"
|
|
188
|
-
]
|
|
189
|
-
],
|
|
190
|
-
"description": "cat version-history object by component-id",
|
|
191
|
-
"extendedDescription": "",
|
|
192
|
-
"group": "ungrouped",
|
|
193
|
-
"private": true
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"name": "scope-config",
|
|
197
|
-
"alias": "",
|
|
198
|
-
"options": [],
|
|
199
|
-
"description": "scope config management",
|
|
200
|
-
"extendedDescription": "",
|
|
201
|
-
"group": "general",
|
|
202
|
-
"private": false,
|
|
203
|
-
"commands": [
|
|
204
|
-
{
|
|
205
|
-
"name": "set <key> <val>",
|
|
206
|
-
"alias": "",
|
|
207
|
-
"options": [],
|
|
208
|
-
"description": "set a scope configuration",
|
|
209
|
-
"extendedDescription": "",
|
|
210
|
-
"group": "ungrouped",
|
|
211
|
-
"private": true
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "del <key>",
|
|
215
|
-
"alias": "",
|
|
216
|
-
"options": [],
|
|
217
|
-
"description": "delete given key from global configuration",
|
|
218
|
-
"extendedDescription": "",
|
|
219
|
-
"group": "ungrouped",
|
|
220
|
-
"private": false
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "get <key>",
|
|
224
|
-
"alias": "",
|
|
225
|
-
"options": [],
|
|
226
|
-
"description": "get a scope configuration",
|
|
227
|
-
"extendedDescription": "",
|
|
228
|
-
"group": "ungrouped",
|
|
229
|
-
"private": true
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"name": "list",
|
|
233
|
-
"alias": "",
|
|
234
|
-
"options": [],
|
|
235
|
-
"description": "list all scope configuration(s)",
|
|
236
|
-
"extendedDescription": "",
|
|
237
|
-
"group": "ungrouped",
|
|
238
|
-
"private": false
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"name": "doctor [diagnosis-name]",
|
|
244
|
-
"alias": "",
|
|
245
|
-
"options": [
|
|
246
|
-
[
|
|
247
|
-
"j",
|
|
248
|
-
"json",
|
|
249
|
-
"return diagnoses in json format"
|
|
250
|
-
],
|
|
251
|
-
[
|
|
252
|
-
"",
|
|
253
|
-
"list",
|
|
254
|
-
"list all available diagnoses"
|
|
255
|
-
],
|
|
256
|
-
[
|
|
257
|
-
"s",
|
|
258
|
-
"save [filePath]",
|
|
259
|
-
"save diagnoses to a file"
|
|
260
|
-
],
|
|
261
|
-
[
|
|
262
|
-
"a",
|
|
263
|
-
"archive [filePath]",
|
|
264
|
-
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
265
|
-
],
|
|
266
|
-
[
|
|
267
|
-
"n",
|
|
268
|
-
"include-node-modules",
|
|
269
|
-
"relevant for --archive. include node_modules in the archive file"
|
|
270
|
-
],
|
|
271
|
-
[
|
|
272
|
-
"p",
|
|
273
|
-
"include-public",
|
|
274
|
-
"relevant for --archive. include public folder in the archive file"
|
|
275
|
-
],
|
|
276
|
-
[
|
|
277
|
-
"e",
|
|
278
|
-
"exclude-local-scope",
|
|
279
|
-
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
280
|
-
]
|
|
281
|
-
],
|
|
282
|
-
"description": "diagnose a bit workspace",
|
|
283
|
-
"extendedDescription": "",
|
|
284
|
-
"group": "general",
|
|
285
|
-
"private": false
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"name": "run-action <action-name> <remote> <options>",
|
|
289
|
-
"alias": "",
|
|
290
|
-
"options": [],
|
|
291
|
-
"description": "run an action on a remote",
|
|
292
|
-
"extendedDescription": "",
|
|
293
|
-
"group": "ungrouped",
|
|
294
|
-
"private": true
|
|
295
|
-
},
|
|
296
49
|
{
|
|
297
50
|
"name": "completion",
|
|
298
51
|
"alias": "",
|
|
@@ -358,12 +111,57 @@
|
|
|
358
111
|
"alias": "",
|
|
359
112
|
"options": [
|
|
360
113
|
[
|
|
361
|
-
"j",
|
|
362
|
-
"json",
|
|
363
|
-
"return the version in json format"
|
|
114
|
+
"j",
|
|
115
|
+
"json",
|
|
116
|
+
"return the version in json format"
|
|
117
|
+
]
|
|
118
|
+
],
|
|
119
|
+
"description": "shows bit version",
|
|
120
|
+
"extendedDescription": "",
|
|
121
|
+
"group": "general",
|
|
122
|
+
"private": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "doctor [diagnosis-name]",
|
|
126
|
+
"alias": "",
|
|
127
|
+
"options": [
|
|
128
|
+
[
|
|
129
|
+
"j",
|
|
130
|
+
"json",
|
|
131
|
+
"return diagnoses in json format"
|
|
132
|
+
],
|
|
133
|
+
[
|
|
134
|
+
"",
|
|
135
|
+
"list",
|
|
136
|
+
"list all available diagnoses"
|
|
137
|
+
],
|
|
138
|
+
[
|
|
139
|
+
"s",
|
|
140
|
+
"save [filePath]",
|
|
141
|
+
"save diagnoses to a file"
|
|
142
|
+
],
|
|
143
|
+
[
|
|
144
|
+
"a",
|
|
145
|
+
"archive [filePath]",
|
|
146
|
+
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
147
|
+
],
|
|
148
|
+
[
|
|
149
|
+
"n",
|
|
150
|
+
"include-node-modules",
|
|
151
|
+
"relevant for --archive. include node_modules in the archive file"
|
|
152
|
+
],
|
|
153
|
+
[
|
|
154
|
+
"p",
|
|
155
|
+
"include-public",
|
|
156
|
+
"relevant for --archive. include public folder in the archive file"
|
|
157
|
+
],
|
|
158
|
+
[
|
|
159
|
+
"e",
|
|
160
|
+
"exclude-local-scope",
|
|
161
|
+
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
364
162
|
]
|
|
365
163
|
],
|
|
366
|
-
"description": "
|
|
164
|
+
"description": "diagnose a bit workspace",
|
|
367
165
|
"extendedDescription": "",
|
|
368
166
|
"group": "general",
|
|
369
167
|
"private": false
|
|
@@ -493,6 +291,54 @@
|
|
|
493
291
|
}
|
|
494
292
|
]
|
|
495
293
|
},
|
|
294
|
+
{
|
|
295
|
+
"name": "config",
|
|
296
|
+
"alias": "",
|
|
297
|
+
"options": [],
|
|
298
|
+
"description": "global config management",
|
|
299
|
+
"extendedDescription": "https://bit.dev/reference/config/bit-config",
|
|
300
|
+
"group": "general",
|
|
301
|
+
"private": false,
|
|
302
|
+
"commands": [
|
|
303
|
+
{
|
|
304
|
+
"name": "set <key> <val>",
|
|
305
|
+
"alias": "",
|
|
306
|
+
"options": [],
|
|
307
|
+
"description": "set a global configuration",
|
|
308
|
+
"extendedDescription": "to set temporary configuration by env variable, prefix with \"BIT_CONFIG\", replace \".\" with \"_\" and change to upper case.\nfor example, \"user.token\" becomes \"BIT_CONFIG_USER_TOKEN\"",
|
|
309
|
+
"group": "ungrouped",
|
|
310
|
+
"private": false,
|
|
311
|
+
"skipWorkspace": true
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "del <key>",
|
|
315
|
+
"alias": "",
|
|
316
|
+
"options": [],
|
|
317
|
+
"description": "delete given key from global configuration",
|
|
318
|
+
"extendedDescription": "",
|
|
319
|
+
"group": "ungrouped",
|
|
320
|
+
"private": false
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "get <key>",
|
|
324
|
+
"alias": "",
|
|
325
|
+
"options": [],
|
|
326
|
+
"description": "get a value from global configuration",
|
|
327
|
+
"extendedDescription": "",
|
|
328
|
+
"group": "ungrouped",
|
|
329
|
+
"private": false
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "list",
|
|
333
|
+
"alias": "",
|
|
334
|
+
"options": [],
|
|
335
|
+
"description": "list all configuration(s)",
|
|
336
|
+
"extendedDescription": "",
|
|
337
|
+
"group": "ungrouped",
|
|
338
|
+
"private": false
|
|
339
|
+
}
|
|
340
|
+
]
|
|
341
|
+
},
|
|
496
342
|
{
|
|
497
343
|
"name": "show <component-name>",
|
|
498
344
|
"alias": "",
|
|
@@ -906,6 +752,89 @@
|
|
|
906
752
|
}
|
|
907
753
|
]
|
|
908
754
|
},
|
|
755
|
+
{
|
|
756
|
+
"name": "cat-scope [scopePath]",
|
|
757
|
+
"alias": "",
|
|
758
|
+
"options": [
|
|
759
|
+
[
|
|
760
|
+
"f",
|
|
761
|
+
"full",
|
|
762
|
+
"show all of the objects in the scope (except \"Source\")"
|
|
763
|
+
],
|
|
764
|
+
[
|
|
765
|
+
"j",
|
|
766
|
+
"json",
|
|
767
|
+
"print the objects as a json format"
|
|
768
|
+
],
|
|
769
|
+
[
|
|
770
|
+
"e",
|
|
771
|
+
"json-extra",
|
|
772
|
+
"add hash and object type to the json"
|
|
773
|
+
]
|
|
774
|
+
],
|
|
775
|
+
"description": "cat a scope and show all the contents",
|
|
776
|
+
"extendedDescription": "",
|
|
777
|
+
"group": "ungrouped",
|
|
778
|
+
"private": true
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "cat-component [id]",
|
|
782
|
+
"alias": "cmp",
|
|
783
|
+
"options": [
|
|
784
|
+
[
|
|
785
|
+
"j",
|
|
786
|
+
"json",
|
|
787
|
+
"json format"
|
|
788
|
+
]
|
|
789
|
+
],
|
|
790
|
+
"description": "cat a bit object by component-id",
|
|
791
|
+
"extendedDescription": "",
|
|
792
|
+
"group": "ungrouped",
|
|
793
|
+
"private": true
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "cat-object <hash>",
|
|
797
|
+
"alias": "",
|
|
798
|
+
"options": [
|
|
799
|
+
[
|
|
800
|
+
"p",
|
|
801
|
+
"pretty",
|
|
802
|
+
"pretty print for the objects"
|
|
803
|
+
],
|
|
804
|
+
[
|
|
805
|
+
"s",
|
|
806
|
+
"stringify",
|
|
807
|
+
"JSON.stringify the object to see special characters, such as \"\n\""
|
|
808
|
+
],
|
|
809
|
+
[
|
|
810
|
+
"",
|
|
811
|
+
"headers",
|
|
812
|
+
"shows the headers only"
|
|
813
|
+
]
|
|
814
|
+
],
|
|
815
|
+
"description": "cat a bit object by hash",
|
|
816
|
+
"extendedDescription": "",
|
|
817
|
+
"group": "ungrouped",
|
|
818
|
+
"private": true
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "cat-lane <id>",
|
|
822
|
+
"alias": "cl",
|
|
823
|
+
"options": [],
|
|
824
|
+
"description": "cat a bit object by lane-name",
|
|
825
|
+
"extendedDescription": "",
|
|
826
|
+
"group": "ungrouped",
|
|
827
|
+
"private": true
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "run-action <action-name> <remote> <options>",
|
|
831
|
+
"alias": "",
|
|
832
|
+
"options": [],
|
|
833
|
+
"description": "run an action on a remote",
|
|
834
|
+
"extendedDescription": "",
|
|
835
|
+
"group": "ungrouped",
|
|
836
|
+
"private": true
|
|
837
|
+
},
|
|
909
838
|
{
|
|
910
839
|
"name": "version-history <sub-command>",
|
|
911
840
|
"alias": "vh",
|
|
@@ -1003,6 +932,21 @@
|
|
|
1003
932
|
}
|
|
1004
933
|
]
|
|
1005
934
|
},
|
|
935
|
+
{
|
|
936
|
+
"name": "cat-version-history <id>",
|
|
937
|
+
"alias": "cvh",
|
|
938
|
+
"options": [
|
|
939
|
+
[
|
|
940
|
+
"j",
|
|
941
|
+
"json",
|
|
942
|
+
"json format"
|
|
943
|
+
]
|
|
944
|
+
],
|
|
945
|
+
"description": "cat version-history object by component-id",
|
|
946
|
+
"extendedDescription": "",
|
|
947
|
+
"group": "ungrouped",
|
|
948
|
+
"private": true
|
|
949
|
+
},
|
|
1006
950
|
{
|
|
1007
951
|
"name": "eject-conf <pattern>",
|
|
1008
952
|
"alias": "",
|
|
@@ -1502,6 +1446,58 @@
|
|
|
1502
1446
|
}
|
|
1503
1447
|
]
|
|
1504
1448
|
},
|
|
1449
|
+
{
|
|
1450
|
+
"name": "dependents <component-name>",
|
|
1451
|
+
"alias": "",
|
|
1452
|
+
"options": [],
|
|
1453
|
+
"description": "show dependents of the given component",
|
|
1454
|
+
"extendedDescription": "",
|
|
1455
|
+
"group": "info",
|
|
1456
|
+
"private": false,
|
|
1457
|
+
"arguments": [
|
|
1458
|
+
{
|
|
1459
|
+
"name": "component-name",
|
|
1460
|
+
"description": "component name or component id"
|
|
1461
|
+
}
|
|
1462
|
+
]
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "list [remote-scope]",
|
|
1466
|
+
"alias": "ls",
|
|
1467
|
+
"options": [
|
|
1468
|
+
[
|
|
1469
|
+
"i",
|
|
1470
|
+
"ids",
|
|
1471
|
+
"show only component ids, unformatted"
|
|
1472
|
+
],
|
|
1473
|
+
[
|
|
1474
|
+
"s",
|
|
1475
|
+
"scope",
|
|
1476
|
+
"show only components stored in the local scope, including indirect dependencies"
|
|
1477
|
+
],
|
|
1478
|
+
[
|
|
1479
|
+
"o",
|
|
1480
|
+
"outdated",
|
|
1481
|
+
"highlight outdated components, in comparison with their latest remote version (if one exists)"
|
|
1482
|
+
],
|
|
1483
|
+
[
|
|
1484
|
+
"j",
|
|
1485
|
+
"json",
|
|
1486
|
+
"show the output in JSON format"
|
|
1487
|
+
],
|
|
1488
|
+
[
|
|
1489
|
+
"n",
|
|
1490
|
+
"namespace <string>",
|
|
1491
|
+
"show only components in the specified namespace/s e.g. '-n ui' or '*/ui'"
|
|
1492
|
+
]
|
|
1493
|
+
],
|
|
1494
|
+
"description": "list components on a workspace or a remote scope (with flag).",
|
|
1495
|
+
"extendedDescription": "",
|
|
1496
|
+
"group": "discover",
|
|
1497
|
+
"private": false,
|
|
1498
|
+
"remoteOp": true,
|
|
1499
|
+
"skipWorkspace": true
|
|
1500
|
+
},
|
|
1505
1501
|
{
|
|
1506
1502
|
"name": "ws-config <sub-command>",
|
|
1507
1503
|
"alias": "workspace-config",
|
|
@@ -3537,7 +3533,7 @@
|
|
|
3537
3533
|
]
|
|
3538
3534
|
},
|
|
3539
3535
|
{
|
|
3540
|
-
"name": "merge [
|
|
3536
|
+
"name": "merge [component-pattern]",
|
|
3541
3537
|
"alias": "",
|
|
3542
3538
|
"options": [
|
|
3543
3539
|
[
|
|
@@ -3597,9 +3593,15 @@
|
|
|
3597
3593
|
]
|
|
3598
3594
|
],
|
|
3599
3595
|
"description": "merge changes of the remote head into local - auto-snaps all merged components",
|
|
3600
|
-
"extendedDescription": "merge changes of the remote head into local when they are diverged. when on a lane, merge the remote head of the lane into the local\nand creates snaps for merged components that have diverged, on the lane.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge. to revert a lane merge, use \"bit lane merge-abort\" command
|
|
3596
|
+
"extendedDescription": "merge changes of the remote head into local when they are diverged. when on a lane, merge the remote head of the lane into the local\nand creates snaps for merged components that have diverged, on the lane.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge. to revert a lane merge, use \"bit lane merge-abort\" command.",
|
|
3601
3597
|
"group": "development",
|
|
3602
|
-
"private": false
|
|
3598
|
+
"private": false,
|
|
3599
|
+
"arguments": [
|
|
3600
|
+
{
|
|
3601
|
+
"name": "component-pattern",
|
|
3602
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3603
|
+
}
|
|
3604
|
+
]
|
|
3603
3605
|
},
|
|
3604
3606
|
{
|
|
3605
3607
|
"name": "lane [sub-command]",
|
|
@@ -4310,43 +4312,6 @@
|
|
|
4310
4312
|
}
|
|
4311
4313
|
]
|
|
4312
4314
|
},
|
|
4313
|
-
{
|
|
4314
|
-
"name": "list [remote-scope]",
|
|
4315
|
-
"alias": "ls",
|
|
4316
|
-
"options": [
|
|
4317
|
-
[
|
|
4318
|
-
"i",
|
|
4319
|
-
"ids",
|
|
4320
|
-
"show only component ids, unformatted"
|
|
4321
|
-
],
|
|
4322
|
-
[
|
|
4323
|
-
"s",
|
|
4324
|
-
"scope",
|
|
4325
|
-
"show only components stored in the local scope, including indirect dependencies"
|
|
4326
|
-
],
|
|
4327
|
-
[
|
|
4328
|
-
"o",
|
|
4329
|
-
"outdated",
|
|
4330
|
-
"highlight outdated components, in comparison with their latest remote version (if one exists)"
|
|
4331
|
-
],
|
|
4332
|
-
[
|
|
4333
|
-
"j",
|
|
4334
|
-
"json",
|
|
4335
|
-
"show the output in JSON format"
|
|
4336
|
-
],
|
|
4337
|
-
[
|
|
4338
|
-
"n",
|
|
4339
|
-
"namespace <string>",
|
|
4340
|
-
"show only components in the specified namespace/s e.g. '-n ui' or '*/ui'"
|
|
4341
|
-
]
|
|
4342
|
-
],
|
|
4343
|
-
"description": "list components on a workspace or a remote scope (with flag).",
|
|
4344
|
-
"extendedDescription": "",
|
|
4345
|
-
"group": "discover",
|
|
4346
|
-
"private": false,
|
|
4347
|
-
"remoteOp": true,
|
|
4348
|
-
"skipWorkspace": true
|
|
4349
|
-
},
|
|
4350
4315
|
{
|
|
4351
4316
|
"name": "pack <componentId> [scopePath]",
|
|
4352
4317
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -461,6 +461,10 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
461
461
|
|
|
462
462
|
`bit dependents <component-name>`
|
|
463
463
|
|
|
464
|
+
| **Arg** | **Description** |
|
|
465
|
+
| ---------------- | :----------------------------: |
|
|
466
|
+
| `component-name` | component name or component id |
|
|
467
|
+
|
|
464
468
|
---
|
|
465
469
|
|
|
466
470
|
## deprecate
|
|
@@ -1416,10 +1420,13 @@ this command does the following:
|
|
|
1416
1420
|
merge changes of the remote head into local when they are diverged. when on a lane, merge the remote head of the lane into the local
|
|
1417
1421
|
and creates snaps for merged components that have diverged, on the lane.
|
|
1418
1422
|
if no ids are specified, all pending-merge components will be merged. (run "bit status" to list them).
|
|
1419
|
-
optionally use '--abort' to revert the last merge. to revert a lane merge, use "bit lane merge-abort" command.
|
|
1420
|
-
you can use a pattern for multiple ids, such as bit merge "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
1423
|
+
optionally use '--abort' to revert the last merge. to revert a lane merge, use "bit lane merge-abort" command.
|
|
1421
1424
|
|
|
1422
|
-
`bit merge [
|
|
1425
|
+
`bit merge [component-pattern]`
|
|
1426
|
+
|
|
1427
|
+
| **Arg** | **Description** |
|
|
1428
|
+
| ------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1429
|
+
| `component-pattern` | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
1423
1430
|
|
|
1424
1431
|
| **Option** | **Option alias** | **Description** |
|
|
1425
1432
|
| --------------------------------------- | :--------------: | ----------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -1806,38 +1813,6 @@ optionally, provide [pattern] to limit the fork to specific components
|
|
|
1806
1813
|
|
|
1807
1814
|
---
|
|
1808
1815
|
|
|
1809
|
-
## scope-config
|
|
1810
|
-
|
|
1811
|
-
**Description**: scope config management
|
|
1812
|
-
|
|
1813
|
-
`bit scope-config`
|
|
1814
|
-
|
|
1815
|
-
### scope-config set
|
|
1816
|
-
|
|
1817
|
-
**Usage**: `scope-config set <key> <val>`
|
|
1818
|
-
|
|
1819
|
-
**Description**: set a scope configuration
|
|
1820
|
-
|
|
1821
|
-
### scope-config del
|
|
1822
|
-
|
|
1823
|
-
**Usage**: `scope-config del <key>`
|
|
1824
|
-
|
|
1825
|
-
**Description**: delete given key from global configuration
|
|
1826
|
-
|
|
1827
|
-
### scope-config get
|
|
1828
|
-
|
|
1829
|
-
**Usage**: `scope-config get <key>`
|
|
1830
|
-
|
|
1831
|
-
**Description**: get a scope configuration
|
|
1832
|
-
|
|
1833
|
-
### scope-config list
|
|
1834
|
-
|
|
1835
|
-
**Usage**: `scope-config list`
|
|
1836
|
-
|
|
1837
|
-
**Description**: list all scope configuration(s)
|
|
1838
|
-
|
|
1839
|
-
---
|
|
1840
|
-
|
|
1841
1816
|
## server
|
|
1842
1817
|
|
|
1843
1818
|
**Description**: EXPERIMENTAL. communicate with bit cli program via http requests
|