@teambit/harmony.content.cli-reference 1.95.43 → 1.95.44
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.json +9 -9
- package/cli-reference.mdx +5 -5
- package/dist/cli-reference.json +9 -9
- package/dist/cli-reference.mdx.js +5 -5
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.44.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1658028499572.js → preview-1658287707886.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.43.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1458,7 +1458,7 @@
|
|
|
1458
1458
|
"skipWorkspace": true
|
|
1459
1459
|
},
|
|
1460
1460
|
{
|
|
1461
|
-
"name": "import [component-
|
|
1461
|
+
"name": "import [component-patterns...]",
|
|
1462
1462
|
"alias": "",
|
|
1463
1463
|
"options": [
|
|
1464
1464
|
[
|
|
@@ -1532,15 +1532,15 @@
|
|
|
1532
1532
|
"relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
|
|
1533
1533
|
]
|
|
1534
1534
|
],
|
|
1535
|
-
"description": "import components from remote scopes to the local workspace",
|
|
1535
|
+
"description": "import components from their remote scopes to the local workspace",
|
|
1536
1536
|
"extendedDescription": "https://bit.dev/docs/components/importing-components\nyou can use a pattern for multiple ids, such as bit import \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
1537
1537
|
"group": "collaborate",
|
|
1538
1538
|
"private": false,
|
|
1539
1539
|
"remoteOp": true,
|
|
1540
1540
|
"arguments": [
|
|
1541
1541
|
{
|
|
1542
|
-
"name": "component-
|
|
1543
|
-
"description": "
|
|
1542
|
+
"name": "component-patterns...",
|
|
1543
|
+
"description": "component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
1544
1544
|
}
|
|
1545
1545
|
]
|
|
1546
1546
|
},
|
|
@@ -3121,7 +3121,7 @@
|
|
|
3121
3121
|
"remoteOp": true
|
|
3122
3122
|
},
|
|
3123
3123
|
{
|
|
3124
|
-
"name": "export [component-
|
|
3124
|
+
"name": "export [component-patterns...]",
|
|
3125
3125
|
"alias": "e",
|
|
3126
3126
|
"options": [
|
|
3127
3127
|
[
|
|
@@ -3132,12 +3132,12 @@
|
|
|
3132
3132
|
[
|
|
3133
3133
|
"a",
|
|
3134
3134
|
"all",
|
|
3135
|
-
"export all components, including non-staged"
|
|
3135
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
3136
3136
|
],
|
|
3137
3137
|
[
|
|
3138
3138
|
"",
|
|
3139
3139
|
"all-versions",
|
|
3140
|
-
"export not only staged versions but all of them"
|
|
3140
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
3141
3141
|
],
|
|
3142
3142
|
[
|
|
3143
3143
|
"",
|
|
@@ -3167,8 +3167,8 @@
|
|
|
3167
3167
|
"remoteOp": true,
|
|
3168
3168
|
"arguments": [
|
|
3169
3169
|
{
|
|
3170
|
-
"name": "component-
|
|
3171
|
-
"description": "
|
|
3170
|
+
"name": "component-patterns...",
|
|
3171
|
+
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
3172
3172
|
}
|
|
3173
3173
|
]
|
|
3174
3174
|
},
|
package/cli-reference.mdx
CHANGED
|
@@ -517,13 +517,13 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
517
517
|
https://bit.dev/docs/components/exporting-components
|
|
518
518
|
you can use a pattern for multiple ids, such as bit export remote-scope "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
519
519
|
|
|
520
|
-
`bit export [component-
|
|
520
|
+
`bit export [component-patterns...]`
|
|
521
521
|
|
|
522
522
|
| **Option** | **Option alias** | **Description** |
|
|
523
523
|
| ---------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
524
524
|
| `--eject` | `-e` | replace the exported components with their corresponding packages (to use these components without further maintaining them) |
|
|
525
|
-
| `--all` | `-a` | export all components, including non-staged
|
|
526
|
-
| `--all-versions` | | export not only staged versions but all of them
|
|
525
|
+
| `--all` | `-a` | export all components, including non-staged (useful when components in the remote scope are corrupted or missing) |
|
|
526
|
+
| `--all-versions` | | export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing) |
|
|
527
527
|
| `--origin-directly` | | EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended! |
|
|
528
528
|
| `--resume <string>` | | in case the previous export failed and suggested to resume with an export-id, enter the id |
|
|
529
529
|
| `--ignore-missing-artifacts` | | EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote |
|
|
@@ -604,11 +604,11 @@ you can use a pattern for multiple ids, such as bit export remote-scope "utils/\
|
|
|
604
604
|
## import
|
|
605
605
|
|
|
606
606
|
**Workspace only**: yes
|
|
607
|
-
**Description**: import components from remote scopes to the local workspace
|
|
607
|
+
**Description**: import components from their remote scopes to the local workspace
|
|
608
608
|
https://bit.dev/docs/components/importing-components
|
|
609
609
|
you can use a pattern for multiple ids, such as bit import "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
610
610
|
|
|
611
|
-
`bit import [component-
|
|
611
|
+
`bit import [component-patterns...]`
|
|
612
612
|
|
|
613
613
|
| **Option** | **Option alias** | **Description** |
|
|
614
614
|
| -------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
package/dist/cli-reference.json
CHANGED
|
@@ -1458,7 +1458,7 @@
|
|
|
1458
1458
|
"skipWorkspace": true
|
|
1459
1459
|
},
|
|
1460
1460
|
{
|
|
1461
|
-
"name": "import [component-
|
|
1461
|
+
"name": "import [component-patterns...]",
|
|
1462
1462
|
"alias": "",
|
|
1463
1463
|
"options": [
|
|
1464
1464
|
[
|
|
@@ -1532,15 +1532,15 @@
|
|
|
1532
1532
|
"relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
|
|
1533
1533
|
]
|
|
1534
1534
|
],
|
|
1535
|
-
"description": "import components from remote scopes to the local workspace",
|
|
1535
|
+
"description": "import components from their remote scopes to the local workspace",
|
|
1536
1536
|
"extendedDescription": "https://bit.dev/docs/components/importing-components\nyou can use a pattern for multiple ids, such as bit import \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
1537
1537
|
"group": "collaborate",
|
|
1538
1538
|
"private": false,
|
|
1539
1539
|
"remoteOp": true,
|
|
1540
1540
|
"arguments": [
|
|
1541
1541
|
{
|
|
1542
|
-
"name": "component-
|
|
1543
|
-
"description": "
|
|
1542
|
+
"name": "component-patterns...",
|
|
1543
|
+
"description": "component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
1544
1544
|
}
|
|
1545
1545
|
]
|
|
1546
1546
|
},
|
|
@@ -3121,7 +3121,7 @@
|
|
|
3121
3121
|
"remoteOp": true
|
|
3122
3122
|
},
|
|
3123
3123
|
{
|
|
3124
|
-
"name": "export [component-
|
|
3124
|
+
"name": "export [component-patterns...]",
|
|
3125
3125
|
"alias": "e",
|
|
3126
3126
|
"options": [
|
|
3127
3127
|
[
|
|
@@ -3132,12 +3132,12 @@
|
|
|
3132
3132
|
[
|
|
3133
3133
|
"a",
|
|
3134
3134
|
"all",
|
|
3135
|
-
"export all components, including non-staged"
|
|
3135
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
3136
3136
|
],
|
|
3137
3137
|
[
|
|
3138
3138
|
"",
|
|
3139
3139
|
"all-versions",
|
|
3140
|
-
"export not only staged versions but all of them"
|
|
3140
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
3141
3141
|
],
|
|
3142
3142
|
[
|
|
3143
3143
|
"",
|
|
@@ -3167,8 +3167,8 @@
|
|
|
3167
3167
|
"remoteOp": true,
|
|
3168
3168
|
"arguments": [
|
|
3169
3169
|
{
|
|
3170
|
-
"name": "component-
|
|
3171
|
-
"description": "
|
|
3170
|
+
"name": "component-patterns...",
|
|
3171
|
+
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
3172
3172
|
}
|
|
3173
3173
|
]
|
|
3174
3174
|
},
|
|
@@ -1998,7 +1998,7 @@ function MDXContent(_ref) {
|
|
|
1998
1998
|
parentName: "p"
|
|
1999
1999
|
}), "\n", "you can use a pattern for multiple ids, such as bit export remote-scope \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2000
2000
|
parentName: "p"
|
|
2001
|
-
}, "bit export [component-
|
|
2001
|
+
}, "bit export [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2002
2002
|
parentName: "table"
|
|
2003
2003
|
}, (0, _react2.mdx)("tr", {
|
|
2004
2004
|
parentName: "thead"
|
|
@@ -2049,7 +2049,7 @@ function MDXContent(_ref) {
|
|
|
2049
2049
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
2050
2050
|
parentName: "tr",
|
|
2051
2051
|
"align": null
|
|
2052
|
-
}, "export all components, including non-staged")), (0, _react2.mdx)("tr", {
|
|
2052
|
+
}, "export all components, including non-staged (useful when components in the remote scope are corrupted or missing)")), (0, _react2.mdx)("tr", {
|
|
2053
2053
|
parentName: "tbody"
|
|
2054
2054
|
}, (0, _react2.mdx)("td", {
|
|
2055
2055
|
parentName: "tr",
|
|
@@ -2062,7 +2062,7 @@ function MDXContent(_ref) {
|
|
|
2062
2062
|
}), (0, _react2.mdx)("td", {
|
|
2063
2063
|
parentName: "tr",
|
|
2064
2064
|
"align": null
|
|
2065
|
-
}, "export not only staged versions but all of them")), (0, _react2.mdx)("tr", {
|
|
2065
|
+
}, "export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)")), (0, _react2.mdx)("tr", {
|
|
2066
2066
|
parentName: "tbody"
|
|
2067
2067
|
}, (0, _react2.mdx)("td", {
|
|
2068
2068
|
parentName: "tr",
|
|
@@ -2426,7 +2426,7 @@ function MDXContent(_ref) {
|
|
|
2426
2426
|
parentName: "p"
|
|
2427
2427
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
2428
2428
|
parentName: "p"
|
|
2429
|
-
}, "Description"), ": import components from remote scopes to the local workspace", (0, _react2.mdx)("br", {
|
|
2429
|
+
}, "Description"), ": import components from their remote scopes to the local workspace", (0, _react2.mdx)("br", {
|
|
2430
2430
|
parentName: "p"
|
|
2431
2431
|
}), "\n", (0, _react2.mdx)("a", {
|
|
2432
2432
|
parentName: "p",
|
|
@@ -2435,7 +2435,7 @@ function MDXContent(_ref) {
|
|
|
2435
2435
|
parentName: "p"
|
|
2436
2436
|
}), "\n", "you can use a pattern for multiple ids, such as bit import \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2437
2437
|
parentName: "p"
|
|
2438
|
-
}, "bit import [component-
|
|
2438
|
+
}, "bit import [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2439
2439
|
parentName: "table"
|
|
2440
2440
|
}, (0, _react2.mdx)("tr", {
|
|
2441
2441
|
parentName: "thead"
|