@teambit/harmony.content.cli-reference 2.0.861 → 2.0.863

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: 1.12.215'
2
+ description: 'Bit command synopses. Bit version: 1.12.217'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -3115,7 +3115,7 @@
3115
3115
  [
3116
3116
  "a",
3117
3117
  "all",
3118
- "revert all unexported tags/snaps for all components"
3118
+ "DEPRECATED. this is now the default behavior when no component-pattern is provided"
3119
3119
  ],
3120
3120
  [
3121
3121
  "",
@@ -3136,10 +3136,15 @@
3136
3136
  "",
3137
3137
  "never-exported",
3138
3138
  "reset only components that were never exported"
3139
+ ],
3140
+ [
3141
+ "s",
3142
+ "silent",
3143
+ "skip confirmation when resetting all components"
3139
3144
  ]
3140
3145
  ],
3141
3146
  "description": "revert local tags and snaps to previous versions",
3142
- "extendedDescription": "removes local component versions (tags/snaps) that haven't been exported yet.\nby default reverts all local versions. use --head to revert only the latest version.\nuseful for undoing mistakes before exporting. exported versions cannot be reset.",
3147
+ "extendedDescription": "removes local component versions (tags/snaps) that haven't been exported yet.\nif no component-pattern is provided, resets all components (with confirmation prompt).\nby default reverts all local versions of each component. use --head to revert only the latest version.\nuseful for undoing mistakes before exporting. exported versions cannot be reset.",
3143
3148
  "group": "version-control",
3144
3149
  "private": false,
3145
3150
  "arguments": [
package/cli-reference.mdx CHANGED
@@ -2049,7 +2049,8 @@ for local components: simply renames the existing component in place.
2049
2049
 
2050
2050
  **Description**: revert local tags and snaps to previous versions
2051
2051
  removes local component versions (tags/snaps) that haven't been exported yet.
2052
- by default reverts all local versions. use --head to revert only the latest version.
2052
+ if no component-pattern is provided, resets all components (with confirmation prompt).
2053
+ by default reverts all local versions of each component. use --head to revert only the latest version.
2053
2054
  useful for undoing mistakes before exporting. exported versions cannot be reset.
2054
2055
 
2055
2056
  `bit reset [component-pattern]`
@@ -2060,11 +2061,12 @@ useful for undoing mistakes before exporting. exported versions cannot be reset.
2060
2061
 
2061
2062
  | **Option** | **Option alias** | **Description** |
2062
2063
  | ------------------ | :--------------: | --------------------------------------------------------------------------------------------------------------- |
2063
- | `--all` | `-a` | revert all unexported tags/snaps for all components |
2064
+ | `--all` | `-a` | DEPRECATED. this is now the default behavior when no component-pattern is provided |
2064
2065
  | `--head` | | revert the head tag/snap only (by default, all local tags/snaps are reverted) |
2065
2066
  | `--soft` | | revert only soft-tags (components tagged with --soft flag) |
2066
2067
  | `--force` | `-f` | revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted |
2067
2068
  | `--never-exported` | | reset only components that were never exported |
2069
+ | `--silent` | `-s` | skip confirmation when resetting all components |
2068
2070
 
2069
2071
  ---
2070
2072
 
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.12.215'
2
+ description: 'Bit command synopses. Bit version: 1.12.217'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -3115,7 +3115,7 @@
3115
3115
  [
3116
3116
  "a",
3117
3117
  "all",
3118
- "revert all unexported tags/snaps for all components"
3118
+ "DEPRECATED. this is now the default behavior when no component-pattern is provided"
3119
3119
  ],
3120
3120
  [
3121
3121
  "",
@@ -3136,10 +3136,15 @@
3136
3136
  "",
3137
3137
  "never-exported",
3138
3138
  "reset only components that were never exported"
3139
+ ],
3140
+ [
3141
+ "s",
3142
+ "silent",
3143
+ "skip confirmation when resetting all components"
3139
3144
  ]
3140
3145
  ],
3141
3146
  "description": "revert local tags and snaps to previous versions",
3142
- "extendedDescription": "removes local component versions (tags/snaps) that haven't been exported yet.\nby default reverts all local versions. use --head to revert only the latest version.\nuseful for undoing mistakes before exporting. exported versions cannot be reset.",
3147
+ "extendedDescription": "removes local component versions (tags/snaps) that haven't been exported yet.\nif no component-pattern is provided, resets all components (with confirmation prompt).\nby default reverts all local versions of each component. use --head to revert only the latest version.\nuseful for undoing mistakes before exporting. exported versions cannot be reset.",
3143
3148
  "group": "version-control",
3144
3149
  "private": false,
3145
3150
  "arguments": [
@@ -10680,7 +10680,9 @@ function MDXContent(_ref) {
10680
10680
  parentName: "p"
10681
10681
  }), "\n", "removes local component versions (tags/snaps) that haven't been exported yet.", (0, _react2.mdx)("br", {
10682
10682
  parentName: "p"
10683
- }), "\n", "by default reverts all local versions. use --head to revert only the latest version.", (0, _react2.mdx)("br", {
10683
+ }), "\n", "if no component-pattern is provided, resets all components (with confirmation prompt).", (0, _react2.mdx)("br", {
10684
+ parentName: "p"
10685
+ }), "\n", "by default reverts all local versions of each component. use --head to revert only the latest version.", (0, _react2.mdx)("br", {
10684
10686
  parentName: "p"
10685
10687
  }), "\n", "useful for undoing mistakes before exporting. exported versions cannot be reset."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
10686
10688
  parentName: "p"
@@ -10750,7 +10752,7 @@ function MDXContent(_ref) {
10750
10752
  }, "-a")), (0, _react2.mdx)("td", {
10751
10753
  parentName: "tr",
10752
10754
  "align": null
10753
- }, "revert all unexported tags/snaps for all components")), (0, _react2.mdx)("tr", {
10755
+ }, "DEPRECATED. this is now the default behavior when no component-pattern is provided")), (0, _react2.mdx)("tr", {
10754
10756
  parentName: "tbody"
10755
10757
  }, (0, _react2.mdx)("td", {
10756
10758
  parentName: "tr",
@@ -10804,7 +10806,22 @@ function MDXContent(_ref) {
10804
10806
  }), (0, _react2.mdx)("td", {
10805
10807
  parentName: "tr",
10806
10808
  "align": null
10807
- }, "reset only components that were never exported")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "revert"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10809
+ }, "reset only components that were never exported")), (0, _react2.mdx)("tr", {
10810
+ parentName: "tbody"
10811
+ }, (0, _react2.mdx)("td", {
10812
+ parentName: "tr",
10813
+ "align": null
10814
+ }, (0, _react2.mdx)("inlineCode", {
10815
+ parentName: "td"
10816
+ }, "--silent")), (0, _react2.mdx)("td", {
10817
+ parentName: "tr",
10818
+ "align": "center"
10819
+ }, (0, _react2.mdx)("inlineCode", {
10820
+ parentName: "td"
10821
+ }, "-s")), (0, _react2.mdx)("td", {
10822
+ parentName: "tr",
10823
+ "align": null
10824
+ }, "skip confirmation when resetting all components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "revert"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10808
10825
  parentName: "p"
10809
10826
  }, "Description"), ": replace component files with specified version while preserving current version", (0, _react2.mdx)("br", {
10810
10827
  parentName: "p"