@teambit/harmony.content.cli-reference 2.0.1261 → 2.0.1263

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.
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 2.2.51'
2
+ description: 'Bit command synopses. Bit version: 2.2.53'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1494,6 +1494,43 @@
1494
1494
  "description": "the Ripple CI job ID to stop (optional — auto-detects from current lane)"
1495
1495
  }
1496
1496
  ]
1497
+ },
1498
+ {
1499
+ "name": "simulate",
1500
+ "alias": "",
1501
+ "options": [
1502
+ [
1503
+ "",
1504
+ "lane <lane>",
1505
+ "lane ID to simulate, e.g. \"scope/lane-name\" (default: detected from .bitmap)"
1506
+ ],
1507
+ [
1508
+ "",
1509
+ "scopes <scopes>",
1510
+ "comma-separated scopes to search for dependents in (default: the lane scope)"
1511
+ ],
1512
+ [
1513
+ "",
1514
+ "owners <owners>",
1515
+ "comma-separated owners (organizations) to search for dependents in"
1516
+ ],
1517
+ [
1518
+ "",
1519
+ "exclude-scopes <scopes>",
1520
+ "comma-separated scopes to exclude from the dependents search"
1521
+ ],
1522
+ [
1523
+ "j",
1524
+ "json",
1525
+ "return the output as JSON"
1526
+ ]
1527
+ ],
1528
+ "description": "start a Ripple CI simulation for a lane to reveal which dependents break (auto-detects current lane)",
1529
+ "extendedDescription": "a simulation builds the dependents of the lane components against the lane heads on bit.cloud,\nwithout merging or publishing anything. it's the way to get dependent coverage for a change before the lane is merged.\nthe simulation runs against the lane as it exists on bit.cloud, so export the lane first.\nsimulations are heavy jobs and are billed as such. run them at review time, not on every change.\ndependents are searched in the lane's own scope by default. widen or narrow the search with --scopes, --owners and\n--exclude-scopes.\nfollow the job with \"bit ripple log\". once it finishes, \"bit ripple errors\" shows what broke. both take the job id\nprinted when the simulation starts.",
1530
+ "group": "ungrouped",
1531
+ "private": false,
1532
+ "remoteOp": true,
1533
+ "skipWorkspace": true
1497
1534
  }
1498
1535
  ]
1499
1536
  },
@@ -4611,6 +4648,28 @@
4611
4648
  }
4612
4649
  ]
4613
4650
  },
4651
+ {
4652
+ "name": "updates [lane-name]",
4653
+ "alias": "",
4654
+ "options": [
4655
+ [
4656
+ "",
4657
+ "undo",
4658
+ "remove the cascaded dependents from the lane, on the remote and locally"
4659
+ ],
4660
+ [
4661
+ "j",
4662
+ "json",
4663
+ "return the results in json format"
4664
+ ]
4665
+ ],
4666
+ "description": "show the dependents Ripple CI cascaded onto a lane, default to the current lane",
4667
+ "extendedDescription": "after a lane is exported, Ripple CI may snap the dependents of the lane components against the new\nheads and add them to the lane as hidden \"update\" entries. they are part of the lane graph (Ripple CI builds them, merge\nrefreshes them) but stay hidden from the workspace (\"bit status\", .bitmap).\nthe entries are read from the remote lane. the local lane object is used only when the remote is unavailable.\nuse --undo to remove them from the lane, on the remote and locally, e.g. when the cascade is not wanted.",
4668
+ "group": "collaborate",
4669
+ "private": false,
4670
+ "remoteOp": true,
4671
+ "skipWorkspace": true
4672
+ },
4614
4673
  {
4615
4674
  "name": "merge <lane> [pattern]",
4616
4675
  "alias": "",
package/cli-reference.mdx CHANGED
@@ -1598,6 +1598,22 @@ if you want to fork the lane from a certain point in history, use "lane checkout
1598
1598
  | `--restore-deleted-components` | | restore components that were deleted after this history point |
1599
1599
  | `--json` | `-j` | return the revert result in json format |
1600
1600
 
1601
+ ### lane updates
1602
+
1603
+ **Usage**: `lane updates [lane-name]`
1604
+
1605
+ **Description**: show the dependents Ripple CI cascaded onto a lane, default to the current lane
1606
+ after a lane is exported, Ripple CI may snap the dependents of the lane components against the new
1607
+ heads and add them to the lane as hidden "update" entries. they are part of the lane graph (Ripple CI builds them, merge
1608
+ refreshes them) but stay hidden from the workspace ("bit status", .bitmap).
1609
+ the entries are read from the remote lane. the local lane object is used only when the remote is unavailable.
1610
+ use --undo to remove them from the lane, on the remote and locally, e.g. when the cascade is not wanted.
1611
+
1612
+ | **Option** | **Option alias** | **Description** |
1613
+ | ---------- | :--------------: | ----------------------------------------------------------------------- |
1614
+ | `--undo` | | remove the cascaded dependents from the lane, on the remote and locally |
1615
+ | `--json` | `-j` | return the results in json format |
1616
+
1601
1617
  ### lane merge
1602
1618
 
1603
1619
  **Usage**: `lane merge <lane> [pattern]`
@@ -2333,6 +2349,28 @@ view, retry, and manage Ripple CI jobs that build your components in the cloud a
2333
2349
  | `--lane <lane>` | | lane ID to find the latest job for (default: detected from .bitmap) |
2334
2350
  | `--json` | `-j` | return the output as JSON |
2335
2351
 
2352
+ ### ripple simulate
2353
+
2354
+ **Usage**: `ripple simulate`
2355
+
2356
+ **Description**: start a Ripple CI simulation for a lane to reveal which dependents break (auto-detects current lane)
2357
+ a simulation builds the dependents of the lane components against the lane heads on bit.cloud,
2358
+ without merging or publishing anything. it's the way to get dependent coverage for a change before the lane is merged.
2359
+ the simulation runs against the lane as it exists on bit.cloud, so export the lane first.
2360
+ simulations are heavy jobs and are billed as such. run them at review time, not on every change.
2361
+ dependents are searched in the lane's own scope by default. widen or narrow the search with --scopes, --owners and
2362
+ --exclude-scopes.
2363
+ follow the job with "bit ripple log". once it finishes, "bit ripple errors" shows what broke. both take the job id
2364
+ printed when the simulation starts.
2365
+
2366
+ | **Option** | **Option alias** | **Description** |
2367
+ | --------------------------- | :--------------: | ---------------------------------------------------------------------------- |
2368
+ | `--lane <lane>` | | lane ID to simulate, e.g. "scope/lane-name" (default: detected from .bitmap) |
2369
+ | `--scopes <scopes>` | | comma-separated scopes to search for dependents in (default: the lane scope) |
2370
+ | `--owners <owners>` | | comma-separated owners (organizations) to search for dependents in |
2371
+ | `--exclude-scopes <scopes>` | | comma-separated scopes to exclude from the dependents search |
2372
+ | `--json` | `-j` | return the output as JSON |
2373
+
2336
2374
  ---
2337
2375
 
2338
2376
  ## run
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 2.2.51'
2
+ description: 'Bit command synopses. Bit version: 2.2.53'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1494,6 +1494,43 @@
1494
1494
  "description": "the Ripple CI job ID to stop (optional — auto-detects from current lane)"
1495
1495
  }
1496
1496
  ]
1497
+ },
1498
+ {
1499
+ "name": "simulate",
1500
+ "alias": "",
1501
+ "options": [
1502
+ [
1503
+ "",
1504
+ "lane <lane>",
1505
+ "lane ID to simulate, e.g. \"scope/lane-name\" (default: detected from .bitmap)"
1506
+ ],
1507
+ [
1508
+ "",
1509
+ "scopes <scopes>",
1510
+ "comma-separated scopes to search for dependents in (default: the lane scope)"
1511
+ ],
1512
+ [
1513
+ "",
1514
+ "owners <owners>",
1515
+ "comma-separated owners (organizations) to search for dependents in"
1516
+ ],
1517
+ [
1518
+ "",
1519
+ "exclude-scopes <scopes>",
1520
+ "comma-separated scopes to exclude from the dependents search"
1521
+ ],
1522
+ [
1523
+ "j",
1524
+ "json",
1525
+ "return the output as JSON"
1526
+ ]
1527
+ ],
1528
+ "description": "start a Ripple CI simulation for a lane to reveal which dependents break (auto-detects current lane)",
1529
+ "extendedDescription": "a simulation builds the dependents of the lane components against the lane heads on bit.cloud,\nwithout merging or publishing anything. it's the way to get dependent coverage for a change before the lane is merged.\nthe simulation runs against the lane as it exists on bit.cloud, so export the lane first.\nsimulations are heavy jobs and are billed as such. run them at review time, not on every change.\ndependents are searched in the lane's own scope by default. widen or narrow the search with --scopes, --owners and\n--exclude-scopes.\nfollow the job with \"bit ripple log\". once it finishes, \"bit ripple errors\" shows what broke. both take the job id\nprinted when the simulation starts.",
1530
+ "group": "ungrouped",
1531
+ "private": false,
1532
+ "remoteOp": true,
1533
+ "skipWorkspace": true
1497
1534
  }
1498
1535
  ]
1499
1536
  },
@@ -4611,6 +4648,28 @@
4611
4648
  }
4612
4649
  ]
4613
4650
  },
4651
+ {
4652
+ "name": "updates [lane-name]",
4653
+ "alias": "",
4654
+ "options": [
4655
+ [
4656
+ "",
4657
+ "undo",
4658
+ "remove the cascaded dependents from the lane, on the remote and locally"
4659
+ ],
4660
+ [
4661
+ "j",
4662
+ "json",
4663
+ "return the results in json format"
4664
+ ]
4665
+ ],
4666
+ "description": "show the dependents Ripple CI cascaded onto a lane, default to the current lane",
4667
+ "extendedDescription": "after a lane is exported, Ripple CI may snap the dependents of the lane components against the new\nheads and add them to the lane as hidden \"update\" entries. they are part of the lane graph (Ripple CI builds them, merge\nrefreshes them) but stay hidden from the workspace (\"bit status\", .bitmap).\nthe entries are read from the remote lane. the local lane object is used only when the remote is unavailable.\nuse --undo to remove them from the lane, on the remote and locally, e.g. when the cascade is not wanted.",
4668
+ "group": "collaborate",
4669
+ "private": false,
4670
+ "remoteOp": true,
4671
+ "skipWorkspace": true
4672
+ },
4614
4673
  {
4615
4674
  "name": "merge <lane> [pattern]",
4616
4675
  "alias": "",