@teambit/harmony.content.cli-reference 2.0.157 → 2.0.159
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 +5 -132
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +5 -132
- package/dist/cli-reference.mdx.js +13 -0
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1706671044097.js → preview-1706757518460.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -233,102 +233,6 @@
|
|
|
233
233
|
"group": "info",
|
|
234
234
|
"private": false
|
|
235
235
|
},
|
|
236
|
-
{
|
|
237
|
-
"name": "_log <path> <args>",
|
|
238
|
-
"alias": "",
|
|
239
|
-
"options": [],
|
|
240
|
-
"description": "show component logs",
|
|
241
|
-
"extendedDescription": "",
|
|
242
|
-
"group": "ungrouped",
|
|
243
|
-
"private": true,
|
|
244
|
-
"internal": true
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "_put <path> <args>",
|
|
248
|
-
"alias": "",
|
|
249
|
-
"options": [],
|
|
250
|
-
"description": "upload a component to a scope",
|
|
251
|
-
"extendedDescription": "",
|
|
252
|
-
"group": "ungrouped",
|
|
253
|
-
"private": true,
|
|
254
|
-
"internal": true
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "_list <path> <args>",
|
|
258
|
-
"alias": "",
|
|
259
|
-
"options": [],
|
|
260
|
-
"description": "list scope components",
|
|
261
|
-
"extendedDescription": "",
|
|
262
|
-
"group": "ungrouped",
|
|
263
|
-
"private": true,
|
|
264
|
-
"internal": true
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"name": "_show <path> <args>",
|
|
268
|
-
"alias": "",
|
|
269
|
-
"options": [],
|
|
270
|
-
"description": "show a specific component on scope",
|
|
271
|
-
"extendedDescription": "",
|
|
272
|
-
"group": "ungrouped",
|
|
273
|
-
"private": true,
|
|
274
|
-
"internal": true
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"name": "_graph <path> <args>",
|
|
278
|
-
"alias": "",
|
|
279
|
-
"options": [],
|
|
280
|
-
"description": "returns scope graph or sub-graph when component id is given",
|
|
281
|
-
"extendedDescription": "",
|
|
282
|
-
"group": "ungrouped",
|
|
283
|
-
"private": true,
|
|
284
|
-
"internal": true
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"name": "_fetch <path> <args>",
|
|
288
|
-
"alias": "",
|
|
289
|
-
"options": [
|
|
290
|
-
[
|
|
291
|
-
"",
|
|
292
|
-
"type <string>",
|
|
293
|
-
"ids type, options are: [\"component\", \"lane\", \"object\"]"
|
|
294
|
-
],
|
|
295
|
-
[
|
|
296
|
-
"n",
|
|
297
|
-
"no-dependencies",
|
|
298
|
-
"do not include component dependencies"
|
|
299
|
-
],
|
|
300
|
-
[
|
|
301
|
-
"",
|
|
302
|
-
"include-artifacts",
|
|
303
|
-
"include components artifacts objects"
|
|
304
|
-
]
|
|
305
|
-
],
|
|
306
|
-
"description": "fetch components(s) from a scope",
|
|
307
|
-
"extendedDescription": "",
|
|
308
|
-
"group": "ungrouped",
|
|
309
|
-
"private": true,
|
|
310
|
-
"internal": true
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"name": "_action <path> <args>",
|
|
314
|
-
"alias": "",
|
|
315
|
-
"options": [],
|
|
316
|
-
"description": "execute a generic action",
|
|
317
|
-
"extendedDescription": "",
|
|
318
|
-
"group": "ungrouped",
|
|
319
|
-
"private": true,
|
|
320
|
-
"internal": true
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"name": "_scope <path> <args>",
|
|
324
|
-
"alias": "",
|
|
325
|
-
"options": [],
|
|
326
|
-
"description": "describe a scope",
|
|
327
|
-
"extendedDescription": "",
|
|
328
|
-
"group": "ungrouped",
|
|
329
|
-
"private": true,
|
|
330
|
-
"internal": true
|
|
331
|
-
},
|
|
332
236
|
{
|
|
333
237
|
"name": "cat-scope [scopePath]",
|
|
334
238
|
"alias": "",
|
|
@@ -450,26 +354,6 @@
|
|
|
450
354
|
"group": "ungrouped",
|
|
451
355
|
"private": true
|
|
452
356
|
},
|
|
453
|
-
{
|
|
454
|
-
"name": "_delete <path> <args>",
|
|
455
|
-
"alias": "",
|
|
456
|
-
"options": [],
|
|
457
|
-
"description": "remove a component from a scope",
|
|
458
|
-
"extendedDescription": "",
|
|
459
|
-
"group": "ungrouped",
|
|
460
|
-
"private": true,
|
|
461
|
-
"internal": true
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"name": "_latest <path> <args>",
|
|
465
|
-
"alias": "",
|
|
466
|
-
"options": [],
|
|
467
|
-
"description": "latest version numbers of given components",
|
|
468
|
-
"extendedDescription": "",
|
|
469
|
-
"group": "ungrouped",
|
|
470
|
-
"private": true,
|
|
471
|
-
"internal": true
|
|
472
|
-
},
|
|
473
357
|
{
|
|
474
358
|
"name": "doctor [diagnosis-name]",
|
|
475
359
|
"alias": "",
|
|
@@ -509,22 +393,6 @@
|
|
|
509
393
|
"group": "ungrouped",
|
|
510
394
|
"private": true
|
|
511
395
|
},
|
|
512
|
-
{
|
|
513
|
-
"name": "_lanes <path> <args>",
|
|
514
|
-
"alias": "",
|
|
515
|
-
"options": [
|
|
516
|
-
[
|
|
517
|
-
"",
|
|
518
|
-
"merge-data",
|
|
519
|
-
"collect merge data"
|
|
520
|
-
]
|
|
521
|
-
],
|
|
522
|
-
"description": "list lanes",
|
|
523
|
-
"extendedDescription": "",
|
|
524
|
-
"group": "ungrouped",
|
|
525
|
-
"private": true,
|
|
526
|
-
"internal": true
|
|
527
|
-
},
|
|
528
396
|
{
|
|
529
397
|
"name": "completion",
|
|
530
398
|
"alias": "",
|
|
@@ -2317,6 +2185,11 @@
|
|
|
2317
2185
|
"dependents",
|
|
2318
2186
|
"import components found while traversing from the imported components upwards to the workspace components"
|
|
2319
2187
|
],
|
|
2188
|
+
[
|
|
2189
|
+
"",
|
|
2190
|
+
"dependents-through <string>",
|
|
2191
|
+
"same as --dependents except the traversal must go through the specified component"
|
|
2192
|
+
],
|
|
2320
2193
|
[
|
|
2321
2194
|
"",
|
|
2322
2195
|
"dependents-dry-run",
|
package/cli-reference.mdx
CHANGED
|
@@ -911,6 +911,7 @@ bit export => export all staged snaps/tags of components to their remote scope.
|
|
|
911
911
|
| `--merge [strategy]` | `-m` | merge local changes with the imported version. strategy should be "theirs", "ours" or "manual" |
|
|
912
912
|
| `--dependencies` | | import all dependencies (bit components only) of imported components and write them to the workspace |
|
|
913
913
|
| `--dependents` | | import components found while traversing from the imported components upwards to the workspace components |
|
|
914
|
+
| `--dependents-through <string>` | | same as --dependents except the traversal must go through the specified component |
|
|
914
915
|
| `--dependents-dry-run` | | same as --dependents, except it prints the found dependents and wait for confirmation before importing them |
|
|
915
916
|
| `--filter-envs <envs>` | | only import components that have the specified environment (e.g., "teambit.react/react-env") |
|
|
916
917
|
| `--save-in-lane` | | when checked out to a lane and the component is not on the remote-lane, save it in the lane (defaults to save on main) |
|
package/dist/cli-reference.json
CHANGED
|
@@ -233,102 +233,6 @@
|
|
|
233
233
|
"group": "info",
|
|
234
234
|
"private": false
|
|
235
235
|
},
|
|
236
|
-
{
|
|
237
|
-
"name": "_log <path> <args>",
|
|
238
|
-
"alias": "",
|
|
239
|
-
"options": [],
|
|
240
|
-
"description": "show component logs",
|
|
241
|
-
"extendedDescription": "",
|
|
242
|
-
"group": "ungrouped",
|
|
243
|
-
"private": true,
|
|
244
|
-
"internal": true
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "_put <path> <args>",
|
|
248
|
-
"alias": "",
|
|
249
|
-
"options": [],
|
|
250
|
-
"description": "upload a component to a scope",
|
|
251
|
-
"extendedDescription": "",
|
|
252
|
-
"group": "ungrouped",
|
|
253
|
-
"private": true,
|
|
254
|
-
"internal": true
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "_list <path> <args>",
|
|
258
|
-
"alias": "",
|
|
259
|
-
"options": [],
|
|
260
|
-
"description": "list scope components",
|
|
261
|
-
"extendedDescription": "",
|
|
262
|
-
"group": "ungrouped",
|
|
263
|
-
"private": true,
|
|
264
|
-
"internal": true
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"name": "_show <path> <args>",
|
|
268
|
-
"alias": "",
|
|
269
|
-
"options": [],
|
|
270
|
-
"description": "show a specific component on scope",
|
|
271
|
-
"extendedDescription": "",
|
|
272
|
-
"group": "ungrouped",
|
|
273
|
-
"private": true,
|
|
274
|
-
"internal": true
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"name": "_graph <path> <args>",
|
|
278
|
-
"alias": "",
|
|
279
|
-
"options": [],
|
|
280
|
-
"description": "returns scope graph or sub-graph when component id is given",
|
|
281
|
-
"extendedDescription": "",
|
|
282
|
-
"group": "ungrouped",
|
|
283
|
-
"private": true,
|
|
284
|
-
"internal": true
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"name": "_fetch <path> <args>",
|
|
288
|
-
"alias": "",
|
|
289
|
-
"options": [
|
|
290
|
-
[
|
|
291
|
-
"",
|
|
292
|
-
"type <string>",
|
|
293
|
-
"ids type, options are: [\"component\", \"lane\", \"object\"]"
|
|
294
|
-
],
|
|
295
|
-
[
|
|
296
|
-
"n",
|
|
297
|
-
"no-dependencies",
|
|
298
|
-
"do not include component dependencies"
|
|
299
|
-
],
|
|
300
|
-
[
|
|
301
|
-
"",
|
|
302
|
-
"include-artifacts",
|
|
303
|
-
"include components artifacts objects"
|
|
304
|
-
]
|
|
305
|
-
],
|
|
306
|
-
"description": "fetch components(s) from a scope",
|
|
307
|
-
"extendedDescription": "",
|
|
308
|
-
"group": "ungrouped",
|
|
309
|
-
"private": true,
|
|
310
|
-
"internal": true
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"name": "_action <path> <args>",
|
|
314
|
-
"alias": "",
|
|
315
|
-
"options": [],
|
|
316
|
-
"description": "execute a generic action",
|
|
317
|
-
"extendedDescription": "",
|
|
318
|
-
"group": "ungrouped",
|
|
319
|
-
"private": true,
|
|
320
|
-
"internal": true
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"name": "_scope <path> <args>",
|
|
324
|
-
"alias": "",
|
|
325
|
-
"options": [],
|
|
326
|
-
"description": "describe a scope",
|
|
327
|
-
"extendedDescription": "",
|
|
328
|
-
"group": "ungrouped",
|
|
329
|
-
"private": true,
|
|
330
|
-
"internal": true
|
|
331
|
-
},
|
|
332
236
|
{
|
|
333
237
|
"name": "cat-scope [scopePath]",
|
|
334
238
|
"alias": "",
|
|
@@ -450,26 +354,6 @@
|
|
|
450
354
|
"group": "ungrouped",
|
|
451
355
|
"private": true
|
|
452
356
|
},
|
|
453
|
-
{
|
|
454
|
-
"name": "_delete <path> <args>",
|
|
455
|
-
"alias": "",
|
|
456
|
-
"options": [],
|
|
457
|
-
"description": "remove a component from a scope",
|
|
458
|
-
"extendedDescription": "",
|
|
459
|
-
"group": "ungrouped",
|
|
460
|
-
"private": true,
|
|
461
|
-
"internal": true
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"name": "_latest <path> <args>",
|
|
465
|
-
"alias": "",
|
|
466
|
-
"options": [],
|
|
467
|
-
"description": "latest version numbers of given components",
|
|
468
|
-
"extendedDescription": "",
|
|
469
|
-
"group": "ungrouped",
|
|
470
|
-
"private": true,
|
|
471
|
-
"internal": true
|
|
472
|
-
},
|
|
473
357
|
{
|
|
474
358
|
"name": "doctor [diagnosis-name]",
|
|
475
359
|
"alias": "",
|
|
@@ -509,22 +393,6 @@
|
|
|
509
393
|
"group": "ungrouped",
|
|
510
394
|
"private": true
|
|
511
395
|
},
|
|
512
|
-
{
|
|
513
|
-
"name": "_lanes <path> <args>",
|
|
514
|
-
"alias": "",
|
|
515
|
-
"options": [
|
|
516
|
-
[
|
|
517
|
-
"",
|
|
518
|
-
"merge-data",
|
|
519
|
-
"collect merge data"
|
|
520
|
-
]
|
|
521
|
-
],
|
|
522
|
-
"description": "list lanes",
|
|
523
|
-
"extendedDescription": "",
|
|
524
|
-
"group": "ungrouped",
|
|
525
|
-
"private": true,
|
|
526
|
-
"internal": true
|
|
527
|
-
},
|
|
528
396
|
{
|
|
529
397
|
"name": "completion",
|
|
530
398
|
"alias": "",
|
|
@@ -2317,6 +2185,11 @@
|
|
|
2317
2185
|
"dependents",
|
|
2318
2186
|
"import components found while traversing from the imported components upwards to the workspace components"
|
|
2319
2187
|
],
|
|
2188
|
+
[
|
|
2189
|
+
"",
|
|
2190
|
+
"dependents-through <string>",
|
|
2191
|
+
"same as --dependents except the traversal must go through the specified component"
|
|
2192
|
+
],
|
|
2320
2193
|
[
|
|
2321
2194
|
"",
|
|
2322
2195
|
"dependents-dry-run",
|
|
@@ -4436,6 +4436,19 @@ function MDXContent(_ref) {
|
|
|
4436
4436
|
"align": null
|
|
4437
4437
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4438
4438
|
parentName: "td"
|
|
4439
|
+
}, "--dependents-through <string>")), (0, _react2.mdx)("td", {
|
|
4440
|
+
parentName: "tr",
|
|
4441
|
+
"align": "center"
|
|
4442
|
+
}), (0, _react2.mdx)("td", {
|
|
4443
|
+
parentName: "tr",
|
|
4444
|
+
"align": null
|
|
4445
|
+
}, "same as --dependents except the traversal must go through the specified component")), (0, _react2.mdx)("tr", {
|
|
4446
|
+
parentName: "tbody"
|
|
4447
|
+
}, (0, _react2.mdx)("td", {
|
|
4448
|
+
parentName: "tr",
|
|
4449
|
+
"align": null
|
|
4450
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4451
|
+
parentName: "td"
|
|
4439
4452
|
}, "--dependents-dry-run")), (0, _react2.mdx)("td", {
|
|
4440
4453
|
parentName: "tr",
|
|
4441
4454
|
"align": "center"
|