@teambit/harmony.content.cli-reference 2.0.796 → 2.0.798
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.docs.mdx +1 -1
- package/cli-reference.json +9 -3
- package/cli-reference.mdx +6 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +9 -3
- package/dist/cli-reference.mdx.js +32 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1759960319849.js → preview-1760038921753.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -2276,7 +2276,7 @@
|
|
|
2276
2276
|
]
|
|
2277
2277
|
},
|
|
2278
2278
|
{
|
|
2279
|
-
"name": "recover <component-
|
|
2279
|
+
"name": "recover <component-pattern>",
|
|
2280
2280
|
"alias": "",
|
|
2281
2281
|
"options": [
|
|
2282
2282
|
[
|
|
@@ -2291,9 +2291,15 @@
|
|
|
2291
2291
|
]
|
|
2292
2292
|
],
|
|
2293
2293
|
"description": "restore soft-deleted components",
|
|
2294
|
-
"extendedDescription": "reverses the soft-deletion of components marked with \"bit delete\", restoring them to their previous state. works for both local and remote soft-deleted components.",
|
|
2294
|
+
"extendedDescription": "reverses the soft-deletion of components marked with \"bit delete\", restoring them to their previous state. works for both local and remote soft-deleted components. supports patterns like \"comp1\", \"org.scope/*\", etc.",
|
|
2295
2295
|
"group": "collaborate",
|
|
2296
|
-
"private": false
|
|
2296
|
+
"private": false,
|
|
2297
|
+
"arguments": [
|
|
2298
|
+
{
|
|
2299
|
+
"name": "component-pattern",
|
|
2300
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2301
|
+
}
|
|
2302
|
+
]
|
|
2297
2303
|
},
|
|
2298
2304
|
{
|
|
2299
2305
|
"name": "checkout <to> [component-pattern]",
|
package/cli-reference.mdx
CHANGED
|
@@ -1909,9 +1909,13 @@ to match a state and another criteria, use " AND " keyword. e.g. '$modified AND
|
|
|
1909
1909
|
## recover
|
|
1910
1910
|
|
|
1911
1911
|
**Description**: restore soft-deleted components
|
|
1912
|
-
reverses the soft-deletion of components marked with "bit delete", restoring them to their previous state. works for both local and remote soft-deleted components.
|
|
1912
|
+
reverses the soft-deletion of components marked with "bit delete", restoring them to their previous state. works for both local and remote soft-deleted components. supports patterns like "comp1", "org.scope/\*", etc.
|
|
1913
1913
|
|
|
1914
|
-
`bit recover <component-
|
|
1914
|
+
`bit recover <component-pattern>`
|
|
1915
|
+
|
|
1916
|
+
| **Arg** | **Description** |
|
|
1917
|
+
| ------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1918
|
+
| `component-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. |
|
|
1915
1919
|
|
|
1916
1920
|
| **Option** | **Option alias** | **Description** |
|
|
1917
1921
|
| -------------------------------- | :--------------: | ---------------------------------------------------------------------- |
|
package/dist/cli-reference.json
CHANGED
|
@@ -2276,7 +2276,7 @@
|
|
|
2276
2276
|
]
|
|
2277
2277
|
},
|
|
2278
2278
|
{
|
|
2279
|
-
"name": "recover <component-
|
|
2279
|
+
"name": "recover <component-pattern>",
|
|
2280
2280
|
"alias": "",
|
|
2281
2281
|
"options": [
|
|
2282
2282
|
[
|
|
@@ -2291,9 +2291,15 @@
|
|
|
2291
2291
|
]
|
|
2292
2292
|
],
|
|
2293
2293
|
"description": "restore soft-deleted components",
|
|
2294
|
-
"extendedDescription": "reverses the soft-deletion of components marked with \"bit delete\", restoring them to their previous state. works for both local and remote soft-deleted components.",
|
|
2294
|
+
"extendedDescription": "reverses the soft-deletion of components marked with \"bit delete\", restoring them to their previous state. works for both local and remote soft-deleted components. supports patterns like \"comp1\", \"org.scope/*\", etc.",
|
|
2295
2295
|
"group": "collaborate",
|
|
2296
|
-
"private": false
|
|
2296
|
+
"private": false,
|
|
2297
|
+
"arguments": [
|
|
2298
|
+
{
|
|
2299
|
+
"name": "component-pattern",
|
|
2300
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2301
|
+
}
|
|
2302
|
+
]
|
|
2297
2303
|
},
|
|
2298
2304
|
{
|
|
2299
2305
|
"name": "checkout <to> [component-pattern]",
|
|
@@ -10042,9 +10042,39 @@ function MDXContent(_ref) {
|
|
|
10042
10042
|
parentName: "p"
|
|
10043
10043
|
}, "Description"), ": restore soft-deleted components", (0, _react2.mdx)("br", {
|
|
10044
10044
|
parentName: "p"
|
|
10045
|
-
}), "\n", "reverses the soft-deletion of components marked with \"bit delete\", restoring them to their previous state. works for both local and remote soft-deleted components."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10045
|
+
}), "\n", "reverses the soft-deletion of components marked with \"bit delete\", restoring them to their previous state. works for both local and remote soft-deleted components. supports patterns like \"comp1\", \"org.scope/", "*", "\", etc."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10046
10046
|
parentName: "p"
|
|
10047
|
-
}, "bit recover <component-
|
|
10047
|
+
}, "bit recover <component-pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
10048
|
+
parentName: "table"
|
|
10049
|
+
}, (0, _react2.mdx)("tr", {
|
|
10050
|
+
parentName: "thead"
|
|
10051
|
+
}, (0, _react2.mdx)("th", {
|
|
10052
|
+
parentName: "tr",
|
|
10053
|
+
"align": null
|
|
10054
|
+
}, (0, _react2.mdx)("strong", {
|
|
10055
|
+
parentName: "th"
|
|
10056
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
10057
|
+
parentName: "tr",
|
|
10058
|
+
"align": "center"
|
|
10059
|
+
}, (0, _react2.mdx)("strong", {
|
|
10060
|
+
parentName: "th"
|
|
10061
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
10062
|
+
parentName: "table"
|
|
10063
|
+
}, (0, _react2.mdx)("tr", {
|
|
10064
|
+
parentName: "tbody"
|
|
10065
|
+
}, (0, _react2.mdx)("td", {
|
|
10066
|
+
parentName: "tr",
|
|
10067
|
+
"align": null
|
|
10068
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10069
|
+
parentName: "td"
|
|
10070
|
+
}, "component-pattern")), (0, _react2.mdx)("td", {
|
|
10071
|
+
parentName: "tr",
|
|
10072
|
+
"align": "center"
|
|
10073
|
+
}, "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 ", (0, _react2.mdx)("inlineCode", {
|
|
10074
|
+
parentName: "td"
|
|
10075
|
+
}, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
|
|
10076
|
+
parentName: "td"
|
|
10077
|
+
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
10048
10078
|
parentName: "table"
|
|
10049
10079
|
}, (0, _react2.mdx)("tr", {
|
|
10050
10080
|
parentName: "thead"
|