@teambit/harmony.content.cli-reference 1.95.73 → 1.95.75

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.
@@ -1281,6 +1281,68 @@
1281
1281
  }
1282
1282
  ]
1283
1283
  },
1284
+ {
1285
+ "name": "resume-export <export-id> <remotes...>",
1286
+ "alias": "",
1287
+ "options": [],
1288
+ "description": "EXPERIMENTAL. resume failed export",
1289
+ "extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
1290
+ "group": "collaborate",
1291
+ "private": true,
1292
+ "remoteOp": true
1293
+ },
1294
+ {
1295
+ "name": "export [component-patterns...]",
1296
+ "alias": "e",
1297
+ "options": [
1298
+ [
1299
+ "e",
1300
+ "eject",
1301
+ "replace the exported components with their corresponding packages (to use these components without further maintaining them)"
1302
+ ],
1303
+ [
1304
+ "a",
1305
+ "all",
1306
+ "export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
1307
+ ],
1308
+ [
1309
+ "",
1310
+ "all-versions",
1311
+ "export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
1312
+ ],
1313
+ [
1314
+ "",
1315
+ "origin-directly",
1316
+ "EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
1317
+ ],
1318
+ [
1319
+ "",
1320
+ "resume <string>",
1321
+ "in case the previous export failed and suggested to resume with an export-id, enter the id"
1322
+ ],
1323
+ [
1324
+ "",
1325
+ "ignore-missing-artifacts",
1326
+ "EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
1327
+ ],
1328
+ [
1329
+ "j",
1330
+ "json",
1331
+ "show output in json format"
1332
+ ]
1333
+ ],
1334
+ "description": "export components from the workspace to remote scopes",
1335
+ "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 you 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)",
1336
+ "group": "collaborate",
1337
+ "private": false,
1338
+ "remoteOp": true,
1339
+ "arguments": [
1340
+ {
1341
+ "name": "component-patterns...",
1342
+ "description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
1343
+ }
1344
+ ]
1345
+ },
1284
1346
  {
1285
1347
  "name": "import [component-patterns...]",
1286
1348
  "alias": "",
@@ -2037,7 +2099,7 @@
2037
2099
  [
2038
2100
  "f",
2039
2101
  "force",
2040
- "removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
2102
+ "removes the lane even when the lane was not merged yet"
2041
2103
  ],
2042
2104
  [
2043
2105
  "s",
@@ -2288,6 +2350,47 @@
2288
2350
  "group": "ungrouped",
2289
2351
  "private": true
2290
2352
  },
2353
+ {
2354
+ "name": "_merge-lane <lane> [pattern]",
2355
+ "alias": "",
2356
+ "options": [
2357
+ [
2358
+ "",
2359
+ "push",
2360
+ "export the updated objects to the original scopes once done"
2361
+ ],
2362
+ [
2363
+ "",
2364
+ "keep-readme",
2365
+ "skip deleting the lane readme component after merging"
2366
+ ],
2367
+ [
2368
+ "",
2369
+ "no-squash",
2370
+ "EXPERIMENTAL. relevant for merging lanes into main, which by default squash."
2371
+ ],
2372
+ [
2373
+ "",
2374
+ "include-deps",
2375
+ "EXPERIMENTAL. relevant for \"--pattern\". merge also dependencies of the given components"
2376
+ ]
2377
+ ],
2378
+ "description": "merge a remote lane into main via a bare-scope (not workspace)",
2379
+ "extendedDescription": "to merge from a workspace, use \"bit lane merge\" command.\nthis is intended to use from the UI, which will have a button to merge an existing lane into main.\nthe lane must be up-to-date with main, otherwise, conflicts might occur which are not handled in this command",
2380
+ "group": "ungrouped",
2381
+ "private": true,
2382
+ "remoteOp": true,
2383
+ "arguments": [
2384
+ {
2385
+ "name": "lane",
2386
+ "description": "lane-id to merge to main"
2387
+ },
2388
+ {
2389
+ "name": "pattern",
2390
+ "description": "EXPERIMENTAL. partially merge the lane with the specified component-pattern"
2391
+ }
2392
+ ]
2393
+ },
2291
2394
  {
2292
2395
  "name": "dependencies <sub-command>",
2293
2396
  "alias": "deps",
@@ -3316,68 +3419,6 @@
3316
3419
  }
3317
3420
  ]
3318
3421
  },
3319
- {
3320
- "name": "resume-export <export-id> <remotes...>",
3321
- "alias": "",
3322
- "options": [],
3323
- "description": "EXPERIMENTAL. resume failed export",
3324
- "extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
3325
- "group": "collaborate",
3326
- "private": true,
3327
- "remoteOp": true
3328
- },
3329
- {
3330
- "name": "export [component-patterns...]",
3331
- "alias": "e",
3332
- "options": [
3333
- [
3334
- "e",
3335
- "eject",
3336
- "replace the exported components with their corresponding packages (to use these components without further maintaining them)"
3337
- ],
3338
- [
3339
- "a",
3340
- "all",
3341
- "export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
3342
- ],
3343
- [
3344
- "",
3345
- "all-versions",
3346
- "export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
3347
- ],
3348
- [
3349
- "",
3350
- "origin-directly",
3351
- "EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
3352
- ],
3353
- [
3354
- "",
3355
- "resume <string>",
3356
- "in case the previous export failed and suggested to resume with an export-id, enter the id"
3357
- ],
3358
- [
3359
- "",
3360
- "ignore-missing-artifacts",
3361
- "EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
3362
- ],
3363
- [
3364
- "j",
3365
- "json",
3366
- "show output in json format"
3367
- ]
3368
- ],
3369
- "description": "export components from the workspace to remote scopes",
3370
- "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 you 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)",
3371
- "group": "collaborate",
3372
- "private": false,
3373
- "remoteOp": true,
3374
- "arguments": [
3375
- {
3376
- "name": "component-patterns...",
3377
- "description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
3378
- }
3379
- ]
3380
- },
3381
3422
  {
3382
3423
  "name": "update-dependencies <data>",
3383
3424
  "alias": "",
@@ -1281,6 +1281,68 @@
1281
1281
  }
1282
1282
  ]
1283
1283
  },
1284
+ {
1285
+ "name": "resume-export <export-id> <remotes...>",
1286
+ "alias": "",
1287
+ "options": [],
1288
+ "description": "EXPERIMENTAL. resume failed export",
1289
+ "extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
1290
+ "group": "collaborate",
1291
+ "private": true,
1292
+ "remoteOp": true
1293
+ },
1294
+ {
1295
+ "name": "export [component-patterns...]",
1296
+ "alias": "e",
1297
+ "options": [
1298
+ [
1299
+ "e",
1300
+ "eject",
1301
+ "replace the exported components with their corresponding packages (to use these components without further maintaining them)"
1302
+ ],
1303
+ [
1304
+ "a",
1305
+ "all",
1306
+ "export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
1307
+ ],
1308
+ [
1309
+ "",
1310
+ "all-versions",
1311
+ "export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
1312
+ ],
1313
+ [
1314
+ "",
1315
+ "origin-directly",
1316
+ "EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
1317
+ ],
1318
+ [
1319
+ "",
1320
+ "resume <string>",
1321
+ "in case the previous export failed and suggested to resume with an export-id, enter the id"
1322
+ ],
1323
+ [
1324
+ "",
1325
+ "ignore-missing-artifacts",
1326
+ "EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
1327
+ ],
1328
+ [
1329
+ "j",
1330
+ "json",
1331
+ "show output in json format"
1332
+ ]
1333
+ ],
1334
+ "description": "export components from the workspace to remote scopes",
1335
+ "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 you 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)",
1336
+ "group": "collaborate",
1337
+ "private": false,
1338
+ "remoteOp": true,
1339
+ "arguments": [
1340
+ {
1341
+ "name": "component-patterns...",
1342
+ "description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
1343
+ }
1344
+ ]
1345
+ },
1284
1346
  {
1285
1347
  "name": "import [component-patterns...]",
1286
1348
  "alias": "",
@@ -2037,7 +2099,7 @@
2037
2099
  [
2038
2100
  "f",
2039
2101
  "force",
2040
- "removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
2102
+ "removes the lane even when the lane was not merged yet"
2041
2103
  ],
2042
2104
  [
2043
2105
  "s",
@@ -2288,6 +2350,47 @@
2288
2350
  "group": "ungrouped",
2289
2351
  "private": true
2290
2352
  },
2353
+ {
2354
+ "name": "_merge-lane <lane> [pattern]",
2355
+ "alias": "",
2356
+ "options": [
2357
+ [
2358
+ "",
2359
+ "push",
2360
+ "export the updated objects to the original scopes once done"
2361
+ ],
2362
+ [
2363
+ "",
2364
+ "keep-readme",
2365
+ "skip deleting the lane readme component after merging"
2366
+ ],
2367
+ [
2368
+ "",
2369
+ "no-squash",
2370
+ "EXPERIMENTAL. relevant for merging lanes into main, which by default squash."
2371
+ ],
2372
+ [
2373
+ "",
2374
+ "include-deps",
2375
+ "EXPERIMENTAL. relevant for \"--pattern\". merge also dependencies of the given components"
2376
+ ]
2377
+ ],
2378
+ "description": "merge a remote lane into main via a bare-scope (not workspace)",
2379
+ "extendedDescription": "to merge from a workspace, use \"bit lane merge\" command.\nthis is intended to use from the UI, which will have a button to merge an existing lane into main.\nthe lane must be up-to-date with main, otherwise, conflicts might occur which are not handled in this command",
2380
+ "group": "ungrouped",
2381
+ "private": true,
2382
+ "remoteOp": true,
2383
+ "arguments": [
2384
+ {
2385
+ "name": "lane",
2386
+ "description": "lane-id to merge to main"
2387
+ },
2388
+ {
2389
+ "name": "pattern",
2390
+ "description": "EXPERIMENTAL. partially merge the lane with the specified component-pattern"
2391
+ }
2392
+ ]
2393
+ },
2291
2394
  {
2292
2395
  "name": "dependencies <sub-command>",
2293
2396
  "alias": "deps",
@@ -3316,68 +3419,6 @@
3316
3419
  }
3317
3420
  ]
3318
3421
  },
3319
- {
3320
- "name": "resume-export <export-id> <remotes...>",
3321
- "alias": "",
3322
- "options": [],
3323
- "description": "EXPERIMENTAL. resume failed export",
3324
- "extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
3325
- "group": "collaborate",
3326
- "private": true,
3327
- "remoteOp": true
3328
- },
3329
- {
3330
- "name": "export [component-patterns...]",
3331
- "alias": "e",
3332
- "options": [
3333
- [
3334
- "e",
3335
- "eject",
3336
- "replace the exported components with their corresponding packages (to use these components without further maintaining them)"
3337
- ],
3338
- [
3339
- "a",
3340
- "all",
3341
- "export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
3342
- ],
3343
- [
3344
- "",
3345
- "all-versions",
3346
- "export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
3347
- ],
3348
- [
3349
- "",
3350
- "origin-directly",
3351
- "EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
3352
- ],
3353
- [
3354
- "",
3355
- "resume <string>",
3356
- "in case the previous export failed and suggested to resume with an export-id, enter the id"
3357
- ],
3358
- [
3359
- "",
3360
- "ignore-missing-artifacts",
3361
- "EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
3362
- ],
3363
- [
3364
- "j",
3365
- "json",
3366
- "show output in json format"
3367
- ]
3368
- ],
3369
- "description": "export components from the workspace to remote scopes",
3370
- "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 you 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)",
3371
- "group": "collaborate",
3372
- "private": false,
3373
- "remoteOp": true,
3374
- "arguments": [
3375
- {
3376
- "name": "component-patterns...",
3377
- "description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
3378
- }
3379
- ]
3380
- },
3381
3422
  {
3382
3423
  "name": "update-dependencies <data>",
3383
3424
  "alias": "",