@teambit/harmony.content.cli-reference 2.0.214 → 2.0.215
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 +5 -0
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +5 -0
- package/dist/cli-reference.mdx.js +16 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1711336720858.js → preview-1711458141302.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1573,6 +1573,11 @@
|
|
|
1573
1573
|
"e",
|
|
1574
1574
|
"env <string>",
|
|
1575
1575
|
"set the component's environment. (overrides the env from variants and the template)"
|
|
1576
|
+
],
|
|
1577
|
+
[
|
|
1578
|
+
"f",
|
|
1579
|
+
"force",
|
|
1580
|
+
"replace existing files at the target location"
|
|
1576
1581
|
]
|
|
1577
1582
|
],
|
|
1578
1583
|
"description": "create a new component (source files and config) using a template.",
|
package/cli-reference.mdx
CHANGED
|
@@ -423,6 +423,7 @@ for example, "user.token" becomes "BIT_CONFIG_USER_TOKEN"
|
|
|
423
423
|
| `--template <string>` | `-t` | env-id of the template. alias for --aspect. |
|
|
424
424
|
| `--path <string>` | `-p` | relative path in the workspace. by default the path is `<scope>/<namespace>/<name>` |
|
|
425
425
|
| `--env <string>` | `-e` | set the component's environment. (overrides the env from variants and the template) |
|
|
426
|
+
| `--force` | `-f` | replace existing files at the target location |
|
|
426
427
|
|
|
427
428
|
---
|
|
428
429
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1573,6 +1573,11 @@
|
|
|
1573
1573
|
"e",
|
|
1574
1574
|
"env <string>",
|
|
1575
1575
|
"set the component's environment. (overrides the env from variants and the template)"
|
|
1576
|
+
],
|
|
1577
|
+
[
|
|
1578
|
+
"f",
|
|
1579
|
+
"force",
|
|
1580
|
+
"replace existing files at the target location"
|
|
1576
1581
|
]
|
|
1577
1582
|
],
|
|
1578
1583
|
"description": "create a new component (source files and config) using a template.",
|
|
@@ -2050,7 +2050,22 @@ function MDXContent(_ref) {
|
|
|
2050
2050
|
}, "-e")), (0, _react2.mdx)("td", {
|
|
2051
2051
|
parentName: "tr",
|
|
2052
2052
|
"align": null
|
|
2053
|
-
}, "set the component's environment. (overrides the env from variants and the template)"))
|
|
2053
|
+
}, "set the component's environment. (overrides the env from variants and the template)")), (0, _react2.mdx)("tr", {
|
|
2054
|
+
parentName: "tbody"
|
|
2055
|
+
}, (0, _react2.mdx)("td", {
|
|
2056
|
+
parentName: "tr",
|
|
2057
|
+
"align": null
|
|
2058
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2059
|
+
parentName: "td"
|
|
2060
|
+
}, "--force")), (0, _react2.mdx)("td", {
|
|
2061
|
+
parentName: "tr",
|
|
2062
|
+
"align": "center"
|
|
2063
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2064
|
+
parentName: "td"
|
|
2065
|
+
}, "-f")), (0, _react2.mdx)("td", {
|
|
2066
|
+
parentName: "tr",
|
|
2067
|
+
"align": null
|
|
2068
|
+
}, "replace existing files at the target location")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "delete"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2054
2069
|
parentName: "p"
|
|
2055
2070
|
}, "Description"), ": mark components as deleted on the remote", (0, _react2.mdx)("br", {
|
|
2056
2071
|
parentName: "p"
|