@teambit/harmony.content.cli-reference 1.95.171 → 1.95.173

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: 0.1.90'
2
+ description: 'Bit command synopses. Bit version: 0.1.92'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -2687,6 +2687,36 @@
2687
2687
  }
2688
2688
  ]
2689
2689
  },
2690
+ {
2691
+ "name": "revert <component-pattern> <to>",
2692
+ "alias": "",
2693
+ "options": [
2694
+ [
2695
+ "v",
2696
+ "verbose",
2697
+ "showing verbose output for inspection"
2698
+ ],
2699
+ [
2700
+ "x",
2701
+ "skip-dependency-installation",
2702
+ "do not install packages of the imported components"
2703
+ ]
2704
+ ],
2705
+ "description": "replace the current component files by the specified version, leave the version intact",
2706
+ "extendedDescription": "",
2707
+ "group": "development",
2708
+ "private": false,
2709
+ "arguments": [
2710
+ {
2711
+ "name": "component-pattern",
2712
+ "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
2713
+ },
2714
+ {
2715
+ "name": "to",
2716
+ "description": "permitted values: [main, specific-version]. 'main' - head version on main."
2717
+ }
2718
+ ]
2719
+ },
2690
2720
  {
2691
2721
  "name": "stash [sub-command]",
2692
2722
  "alias": "",
package/cli-reference.mdx CHANGED
@@ -1270,6 +1270,19 @@ https://bit.dev/docs/components/tags#undoing-a-tag
1270
1270
 
1271
1271
  ---
1272
1272
 
1273
+ ## revert
1274
+
1275
+ **Description**: replace the current component files by the specified version, leave the version intact
1276
+
1277
+ `bit revert <component-pattern> <to>`
1278
+
1279
+ | **Option** | **Option alias** | **Description** |
1280
+ | -------------------------------- | :--------------: | -------------------------------------------------- |
1281
+ | `--verbose` | `-v` | showing verbose output for inspection |
1282
+ | `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
1283
+
1284
+ ---
1285
+
1273
1286
  ## run
1274
1287
 
1275
1288
  **Alias**: `c`
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 0.1.90'
2
+ description: 'Bit command synopses. Bit version: 0.1.92'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -2687,6 +2687,36 @@
2687
2687
  }
2688
2688
  ]
2689
2689
  },
2690
+ {
2691
+ "name": "revert <component-pattern> <to>",
2692
+ "alias": "",
2693
+ "options": [
2694
+ [
2695
+ "v",
2696
+ "verbose",
2697
+ "showing verbose output for inspection"
2698
+ ],
2699
+ [
2700
+ "x",
2701
+ "skip-dependency-installation",
2702
+ "do not install packages of the imported components"
2703
+ ]
2704
+ ],
2705
+ "description": "replace the current component files by the specified version, leave the version intact",
2706
+ "extendedDescription": "",
2707
+ "group": "development",
2708
+ "private": false,
2709
+ "arguments": [
2710
+ {
2711
+ "name": "component-pattern",
2712
+ "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
2713
+ },
2714
+ {
2715
+ "name": "to",
2716
+ "description": "permitted values: [main, specific-version]. 'main' - head version on main."
2717
+ }
2718
+ ]
2719
+ },
2690
2720
  {
2691
2721
  "name": "stash [sub-command]",
2692
2722
  "alias": "",
@@ -5929,7 +5929,62 @@ function MDXContent(_ref) {
5929
5929
  }, "-f")), (0, _react2.mdx)("td", {
5930
5930
  parentName: "tr",
5931
5931
  "align": null
5932
- }, "revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "run"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
5932
+ }, "revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "revert"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
5933
+ parentName: "p"
5934
+ }, "Description"), ": replace the current component files by the specified version, leave the version intact"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
5935
+ parentName: "p"
5936
+ }, "bit revert <component-pattern> <to>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
5937
+ parentName: "table"
5938
+ }, (0, _react2.mdx)("tr", {
5939
+ parentName: "thead"
5940
+ }, (0, _react2.mdx)("th", {
5941
+ parentName: "tr",
5942
+ "align": null
5943
+ }, (0, _react2.mdx)("strong", {
5944
+ parentName: "th"
5945
+ }, "Option")), (0, _react2.mdx)("th", {
5946
+ parentName: "tr",
5947
+ "align": "center"
5948
+ }, (0, _react2.mdx)("strong", {
5949
+ parentName: "th"
5950
+ }, "Option alias")), (0, _react2.mdx)("th", {
5951
+ parentName: "tr",
5952
+ "align": null
5953
+ }, (0, _react2.mdx)("strong", {
5954
+ parentName: "th"
5955
+ }, "Description")))), (0, _react2.mdx)("tbody", {
5956
+ parentName: "table"
5957
+ }, (0, _react2.mdx)("tr", {
5958
+ parentName: "tbody"
5959
+ }, (0, _react2.mdx)("td", {
5960
+ parentName: "tr",
5961
+ "align": null
5962
+ }, (0, _react2.mdx)("inlineCode", {
5963
+ parentName: "td"
5964
+ }, "--verbose")), (0, _react2.mdx)("td", {
5965
+ parentName: "tr",
5966
+ "align": "center"
5967
+ }, (0, _react2.mdx)("inlineCode", {
5968
+ parentName: "td"
5969
+ }, "-v")), (0, _react2.mdx)("td", {
5970
+ parentName: "tr",
5971
+ "align": null
5972
+ }, "showing verbose output for inspection")), (0, _react2.mdx)("tr", {
5973
+ parentName: "tbody"
5974
+ }, (0, _react2.mdx)("td", {
5975
+ parentName: "tr",
5976
+ "align": null
5977
+ }, (0, _react2.mdx)("inlineCode", {
5978
+ parentName: "td"
5979
+ }, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
5980
+ parentName: "tr",
5981
+ "align": "center"
5982
+ }, (0, _react2.mdx)("inlineCode", {
5983
+ parentName: "td"
5984
+ }, "-x")), (0, _react2.mdx)("td", {
5985
+ parentName: "tr",
5986
+ "align": null
5987
+ }, "do not install packages of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "run"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
5933
5988
  parentName: "p"
5934
5989
  }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
5935
5990
  parentName: "p"