@teambit/harmony.content.cli-reference 2.0.278 → 2.0.279

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,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.163'
2
+ description: 'Bit command synopses. Bit version: 1.6.164'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -849,7 +849,7 @@
849
849
  ]
850
850
  },
851
851
  {
852
- "name": "fork <original-scope> <new-scope> [pattern]",
852
+ "name": "fork <original-scope> [new-scope] [pattern]",
853
853
  "options": [
854
854
  [
855
855
  "",
@@ -872,7 +872,7 @@
872
872
  },
873
873
  {
874
874
  "name": "new-scope",
875
- "description": "the new scope to fork to"
875
+ "description": "the new scope to fork to, default to the default-scope of the workspace"
876
876
  },
877
877
  {
878
878
  "name": "pattern",
package/cli-reference.mdx CHANGED
@@ -1784,7 +1784,7 @@ as a result of this change
1784
1784
 
1785
1785
  ### scope fork
1786
1786
 
1787
- **Usage**: `scope fork <original-scope> <new-scope> [pattern]`
1787
+ **Usage**: `scope fork <original-scope> [new-scope] [pattern]`
1788
1788
 
1789
1789
  **Description**: fork all components of the original-scope and refactor the source-code to use the new scope name
1790
1790
  optionally, provide [pattern] to limit the fork to specific components
@@ -1792,7 +1792,7 @@ optionally, provide [pattern] to limit the fork to specific components
1792
1792
  | **Arg** | **Description** |
1793
1793
  | ---------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
1794
1794
  | `original-scope` | the original scope to fork |
1795
- | `new-scope` | the new scope to fork to |
1795
+ | `new-scope` | the new scope to fork to, default to the default-scope of the workspace |
1796
1796
  | `pattern` | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
1797
1797
 
1798
1798
  | **Option** | **Option alias** | **Description** |
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.163'
2
+ description: 'Bit command synopses. Bit version: 1.6.164'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -849,7 +849,7 @@
849
849
  ]
850
850
  },
851
851
  {
852
- "name": "fork <original-scope> <new-scope> [pattern]",
852
+ "name": "fork <original-scope> [new-scope] [pattern]",
853
853
  "options": [
854
854
  [
855
855
  "",
@@ -872,7 +872,7 @@
872
872
  },
873
873
  {
874
874
  "name": "new-scope",
875
- "description": "the new scope to fork to"
875
+ "description": "the new scope to fork to, default to the default-scope of the workspace"
876
876
  },
877
877
  {
878
878
  "name": "pattern",
@@ -9225,7 +9225,7 @@ function MDXContent(_ref) {
9225
9225
  parentName: "p"
9226
9226
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
9227
9227
  parentName: "p"
9228
- }, "scope fork <original-scope> <new-scope> [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9228
+ }, "scope fork <original-scope> [new-scope] [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9229
9229
  parentName: "p"
9230
9230
  }, "Description"), ": fork all components of the original-scope and refactor the source-code to use the new scope name", (0, _react2.mdx)("br", {
9231
9231
  parentName: "p"
@@ -9265,7 +9265,7 @@ function MDXContent(_ref) {
9265
9265
  }, "new-scope")), (0, _react2.mdx)("td", {
9266
9266
  parentName: "tr",
9267
9267
  "align": "center"
9268
- }, "the new scope to fork to")), (0, _react2.mdx)("tr", {
9268
+ }, "the new scope to fork to, default to the default-scope of the workspace")), (0, _react2.mdx)("tr", {
9269
9269
  parentName: "tbody"
9270
9270
  }, (0, _react2.mdx)("td", {
9271
9271
  parentName: "tr",