@teambit/harmony.content.cli-reference 1.95.17 → 1.95.18

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.mdx CHANGED
@@ -1010,6 +1010,25 @@ alternatively, exporting to any one of the failed scopes, throws server-is-busy
1010
1010
 
1011
1011
  ---
1012
1012
 
1013
+ ## scope
1014
+
1015
+ **Workspace only**: yes
1016
+ **Description**: EXPERIMENTAL. manage scope-name
1017
+
1018
+ `bit scope <sub-command>`
1019
+
1020
+ ### scope rename
1021
+
1022
+ **Usage**: `scope rename <old-name> <new-name>`
1023
+
1024
+ **Description**: rename a scope for components using the old-name, optionally change the dependencies source-code
1025
+
1026
+ | **Option** | **Option alias** | **Description** |
1027
+ | ------------ | :--------------: | ---------------------------------------------------------------------------------------------- |
1028
+ | `--refactor` | `-r` | change the source code of all components using the original scope-name with the new scope-name |
1029
+
1030
+ ---
1031
+
1013
1032
  ## scope-config
1014
1033
 
1015
1034
  **Workspace only**: yes
@@ -4541,7 +4541,57 @@ function MDXContent(_ref) {
4541
4541
  }, "-j")), (0, _react2.mdx)("td", {
4542
4542
  parentName: "tr",
4543
4543
  "align": null
4544
- }, "return the component data in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "scope-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4544
+ }, "return the component data in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4545
+ parentName: "p"
4546
+ }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
4547
+ parentName: "p"
4548
+ }), "\n", (0, _react2.mdx)("strong", {
4549
+ parentName: "p"
4550
+ }, "Description"), ": EXPERIMENTAL. manage scope-name"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
4551
+ parentName: "p"
4552
+ }, "bit scope <sub-command>")), (0, _react2.mdx)("h3", null, "scope rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4553
+ parentName: "p"
4554
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
4555
+ parentName: "p"
4556
+ }, "scope rename <old-name> <new-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4557
+ parentName: "p"
4558
+ }, "Description"), ": rename a scope for components using the old-name, optionally change the dependencies source-code"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
4559
+ parentName: "table"
4560
+ }, (0, _react2.mdx)("tr", {
4561
+ parentName: "thead"
4562
+ }, (0, _react2.mdx)("th", {
4563
+ parentName: "tr",
4564
+ "align": null
4565
+ }, (0, _react2.mdx)("strong", {
4566
+ parentName: "th"
4567
+ }, "Option")), (0, _react2.mdx)("th", {
4568
+ parentName: "tr",
4569
+ "align": "center"
4570
+ }, (0, _react2.mdx)("strong", {
4571
+ parentName: "th"
4572
+ }, "Option alias")), (0, _react2.mdx)("th", {
4573
+ parentName: "tr",
4574
+ "align": null
4575
+ }, (0, _react2.mdx)("strong", {
4576
+ parentName: "th"
4577
+ }, "Description")))), (0, _react2.mdx)("tbody", {
4578
+ parentName: "table"
4579
+ }, (0, _react2.mdx)("tr", {
4580
+ parentName: "tbody"
4581
+ }, (0, _react2.mdx)("td", {
4582
+ parentName: "tr",
4583
+ "align": null
4584
+ }, (0, _react2.mdx)("inlineCode", {
4585
+ parentName: "td"
4586
+ }, "--refactor")), (0, _react2.mdx)("td", {
4587
+ parentName: "tr",
4588
+ "align": "center"
4589
+ }, (0, _react2.mdx)("inlineCode", {
4590
+ parentName: "td"
4591
+ }, "-r")), (0, _react2.mdx)("td", {
4592
+ parentName: "tr",
4593
+ "align": null
4594
+ }, "change the source code of all components using the original scope-name with the new scope-name")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "scope-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4545
4595
  parentName: "p"
4546
4596
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
4547
4597
  parentName: "p"