@teambit/harmony.content.cli-reference 1.95.70 → 1.95.71

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.
@@ -1311,6 +1311,93 @@
1311
1311
  }
1312
1312
  ]
1313
1313
  },
1314
+ {
1315
+ "name": "import [component-patterns...]",
1316
+ "alias": "",
1317
+ "options": [
1318
+ [
1319
+ "p",
1320
+ "path <path>",
1321
+ "import components into a specific directory (a relative path in the workspace)"
1322
+ ],
1323
+ [
1324
+ "o",
1325
+ "objects",
1326
+ "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"
1327
+ ],
1328
+ [
1329
+ "d",
1330
+ "display-dependencies",
1331
+ "display the imported dependencies"
1332
+ ],
1333
+ [
1334
+ "O",
1335
+ "override",
1336
+ "override local changes"
1337
+ ],
1338
+ [
1339
+ "v",
1340
+ "verbose",
1341
+ "show verbose output for inspection"
1342
+ ],
1343
+ [
1344
+ "j",
1345
+ "json",
1346
+ "return the output as JSON"
1347
+ ],
1348
+ [
1349
+ "",
1350
+ "conf",
1351
+ "write the configuration file (component.json) of the component"
1352
+ ],
1353
+ [
1354
+ "",
1355
+ "skip-npm-install",
1356
+ "DEPRECATED. use \"--skip-dependency-installation\" instead"
1357
+ ],
1358
+ [
1359
+ "",
1360
+ "skip-dependency-installation",
1361
+ "do not install packages of the imported components"
1362
+ ],
1363
+ [
1364
+ "m",
1365
+ "merge [strategy]",
1366
+ "merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\""
1367
+ ],
1368
+ [
1369
+ "",
1370
+ "dependencies",
1371
+ "EXPERIMENTAL. import all dependencies and write them to the workspace"
1372
+ ],
1373
+ [
1374
+ "",
1375
+ "dependents",
1376
+ "EXPERIMENTAL. import the components' dependents. this enables changes to propagate from (modified) components to their dependents"
1377
+ ],
1378
+ [
1379
+ "",
1380
+ "save-in-lane",
1381
+ "EXPERIMENTAL. when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main)"
1382
+ ],
1383
+ [
1384
+ "",
1385
+ "all-history",
1386
+ "relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
1387
+ ]
1388
+ ],
1389
+ "description": "import components from their remote scopes to the local workspace",
1390
+ "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)",
1391
+ "group": "collaborate",
1392
+ "private": false,
1393
+ "remoteOp": true,
1394
+ "arguments": [
1395
+ {
1396
+ "name": "component-patterns...",
1397
+ "description": "component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
1398
+ }
1399
+ ]
1400
+ },
1314
1401
  {
1315
1402
  "name": "install [packages...]",
1316
1403
  "alias": "in",
@@ -2098,6 +2185,11 @@
2098
2185
  "no-snap",
2099
2186
  "do not auto snap in case the merge completed without conflicts"
2100
2187
  ],
2188
+ [
2189
+ "",
2190
+ "tag",
2191
+ "tag all lane components after merging into main (also tag-merge in case of snap-merge)"
2192
+ ],
2101
2193
  [
2102
2194
  "",
2103
2195
  "build",
@@ -2150,7 +2242,7 @@
2150
2242
  ]
2151
2243
  ],
2152
2244
  "description": "merge a local or a remote lane",
2153
- "extendedDescription": "if the <lane> exists locally, it will be merged from the local lane.\notherwise, it will fetch the lane from the remote and merge it.\nin case the <lane> exists locally but you want to merge the remote version of it, use --remote flag",
2245
+ "extendedDescription": "if the <lane> exists locally, it will be merged from the local lane.\notherwise, it will fetch the lane from the remote and merge it.\nin case the <lane> exists locally but you want to merge the remote version of it, use --remote flag.\nwhen the current and the other lanes are diverged in history and the files could be merged with no conflicts,\nit will snap-merge these components to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead",
2154
2246
  "private": true,
2155
2247
  "remoteOp": true,
2156
2248
  "arguments": [
@@ -2334,93 +2426,6 @@
2334
2426
  "remoteOp": true,
2335
2427
  "skipWorkspace": true
2336
2428
  },
2337
- {
2338
- "name": "import [component-patterns...]",
2339
- "alias": "",
2340
- "options": [
2341
- [
2342
- "p",
2343
- "path <path>",
2344
- "import components into a specific directory (a relative path in the workspace)"
2345
- ],
2346
- [
2347
- "o",
2348
- "objects",
2349
- "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"
2350
- ],
2351
- [
2352
- "d",
2353
- "display-dependencies",
2354
- "display the imported dependencies"
2355
- ],
2356
- [
2357
- "O",
2358
- "override",
2359
- "override local changes"
2360
- ],
2361
- [
2362
- "v",
2363
- "verbose",
2364
- "show verbose output for inspection"
2365
- ],
2366
- [
2367
- "j",
2368
- "json",
2369
- "return the output as JSON"
2370
- ],
2371
- [
2372
- "",
2373
- "conf",
2374
- "write the configuration file (component.json) of the component"
2375
- ],
2376
- [
2377
- "",
2378
- "skip-npm-install",
2379
- "DEPRECATED. use \"--skip-dependency-installation\" instead"
2380
- ],
2381
- [
2382
- "",
2383
- "skip-dependency-installation",
2384
- "do not install packages of the imported components"
2385
- ],
2386
- [
2387
- "m",
2388
- "merge [strategy]",
2389
- "merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\""
2390
- ],
2391
- [
2392
- "",
2393
- "dependencies",
2394
- "EXPERIMENTAL. import all dependencies and write them to the workspace"
2395
- ],
2396
- [
2397
- "",
2398
- "dependents",
2399
- "EXPERIMENTAL. import the components' dependents. this enables changes to propagate from (modified) components to their dependents"
2400
- ],
2401
- [
2402
- "",
2403
- "save-in-lane",
2404
- "EXPERIMENTAL. when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main)"
2405
- ],
2406
- [
2407
- "",
2408
- "all-history",
2409
- "relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
2410
- ]
2411
- ],
2412
- "description": "import components from their remote scopes to the local workspace",
2413
- "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)",
2414
- "group": "collaborate",
2415
- "private": false,
2416
- "remoteOp": true,
2417
- "arguments": [
2418
- {
2419
- "name": "component-patterns...",
2420
- "description": "component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
2421
- }
2422
- ]
2423
- },
2424
2429
  {
2425
2430
  "name": "create <template-name> <component-names...>",
2426
2431
  "alias": "",
@@ -1311,6 +1311,93 @@
1311
1311
  }
1312
1312
  ]
1313
1313
  },
1314
+ {
1315
+ "name": "import [component-patterns...]",
1316
+ "alias": "",
1317
+ "options": [
1318
+ [
1319
+ "p",
1320
+ "path <path>",
1321
+ "import components into a specific directory (a relative path in the workspace)"
1322
+ ],
1323
+ [
1324
+ "o",
1325
+ "objects",
1326
+ "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"
1327
+ ],
1328
+ [
1329
+ "d",
1330
+ "display-dependencies",
1331
+ "display the imported dependencies"
1332
+ ],
1333
+ [
1334
+ "O",
1335
+ "override",
1336
+ "override local changes"
1337
+ ],
1338
+ [
1339
+ "v",
1340
+ "verbose",
1341
+ "show verbose output for inspection"
1342
+ ],
1343
+ [
1344
+ "j",
1345
+ "json",
1346
+ "return the output as JSON"
1347
+ ],
1348
+ [
1349
+ "",
1350
+ "conf",
1351
+ "write the configuration file (component.json) of the component"
1352
+ ],
1353
+ [
1354
+ "",
1355
+ "skip-npm-install",
1356
+ "DEPRECATED. use \"--skip-dependency-installation\" instead"
1357
+ ],
1358
+ [
1359
+ "",
1360
+ "skip-dependency-installation",
1361
+ "do not install packages of the imported components"
1362
+ ],
1363
+ [
1364
+ "m",
1365
+ "merge [strategy]",
1366
+ "merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\""
1367
+ ],
1368
+ [
1369
+ "",
1370
+ "dependencies",
1371
+ "EXPERIMENTAL. import all dependencies and write them to the workspace"
1372
+ ],
1373
+ [
1374
+ "",
1375
+ "dependents",
1376
+ "EXPERIMENTAL. import the components' dependents. this enables changes to propagate from (modified) components to their dependents"
1377
+ ],
1378
+ [
1379
+ "",
1380
+ "save-in-lane",
1381
+ "EXPERIMENTAL. when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main)"
1382
+ ],
1383
+ [
1384
+ "",
1385
+ "all-history",
1386
+ "relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
1387
+ ]
1388
+ ],
1389
+ "description": "import components from their remote scopes to the local workspace",
1390
+ "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)",
1391
+ "group": "collaborate",
1392
+ "private": false,
1393
+ "remoteOp": true,
1394
+ "arguments": [
1395
+ {
1396
+ "name": "component-patterns...",
1397
+ "description": "component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
1398
+ }
1399
+ ]
1400
+ },
1314
1401
  {
1315
1402
  "name": "install [packages...]",
1316
1403
  "alias": "in",
@@ -2098,6 +2185,11 @@
2098
2185
  "no-snap",
2099
2186
  "do not auto snap in case the merge completed without conflicts"
2100
2187
  ],
2188
+ [
2189
+ "",
2190
+ "tag",
2191
+ "tag all lane components after merging into main (also tag-merge in case of snap-merge)"
2192
+ ],
2101
2193
  [
2102
2194
  "",
2103
2195
  "build",
@@ -2150,7 +2242,7 @@
2150
2242
  ]
2151
2243
  ],
2152
2244
  "description": "merge a local or a remote lane",
2153
- "extendedDescription": "if the <lane> exists locally, it will be merged from the local lane.\notherwise, it will fetch the lane from the remote and merge it.\nin case the <lane> exists locally but you want to merge the remote version of it, use --remote flag",
2245
+ "extendedDescription": "if the <lane> exists locally, it will be merged from the local lane.\notherwise, it will fetch the lane from the remote and merge it.\nin case the <lane> exists locally but you want to merge the remote version of it, use --remote flag.\nwhen the current and the other lanes are diverged in history and the files could be merged with no conflicts,\nit will snap-merge these components to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead",
2154
2246
  "private": true,
2155
2247
  "remoteOp": true,
2156
2248
  "arguments": [
@@ -2334,93 +2426,6 @@
2334
2426
  "remoteOp": true,
2335
2427
  "skipWorkspace": true
2336
2428
  },
2337
- {
2338
- "name": "import [component-patterns...]",
2339
- "alias": "",
2340
- "options": [
2341
- [
2342
- "p",
2343
- "path <path>",
2344
- "import components into a specific directory (a relative path in the workspace)"
2345
- ],
2346
- [
2347
- "o",
2348
- "objects",
2349
- "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"
2350
- ],
2351
- [
2352
- "d",
2353
- "display-dependencies",
2354
- "display the imported dependencies"
2355
- ],
2356
- [
2357
- "O",
2358
- "override",
2359
- "override local changes"
2360
- ],
2361
- [
2362
- "v",
2363
- "verbose",
2364
- "show verbose output for inspection"
2365
- ],
2366
- [
2367
- "j",
2368
- "json",
2369
- "return the output as JSON"
2370
- ],
2371
- [
2372
- "",
2373
- "conf",
2374
- "write the configuration file (component.json) of the component"
2375
- ],
2376
- [
2377
- "",
2378
- "skip-npm-install",
2379
- "DEPRECATED. use \"--skip-dependency-installation\" instead"
2380
- ],
2381
- [
2382
- "",
2383
- "skip-dependency-installation",
2384
- "do not install packages of the imported components"
2385
- ],
2386
- [
2387
- "m",
2388
- "merge [strategy]",
2389
- "merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\""
2390
- ],
2391
- [
2392
- "",
2393
- "dependencies",
2394
- "EXPERIMENTAL. import all dependencies and write them to the workspace"
2395
- ],
2396
- [
2397
- "",
2398
- "dependents",
2399
- "EXPERIMENTAL. import the components' dependents. this enables changes to propagate from (modified) components to their dependents"
2400
- ],
2401
- [
2402
- "",
2403
- "save-in-lane",
2404
- "EXPERIMENTAL. when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main)"
2405
- ],
2406
- [
2407
- "",
2408
- "all-history",
2409
- "relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
2410
- ]
2411
- ],
2412
- "description": "import components from their remote scopes to the local workspace",
2413
- "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)",
2414
- "group": "collaborate",
2415
- "private": false,
2416
- "remoteOp": true,
2417
- "arguments": [
2418
- {
2419
- "name": "component-patterns...",
2420
- "description": "component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
2421
- }
2422
- ]
2423
- },
2424
2429
  {
2425
2430
  "name": "create <template-name> <component-names...>",
2426
2431
  "alias": "",