@teambit/harmony.content.cli-reference 1.95.41 → 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 +27 -12
- package/cli-reference.mdx +21 -18
- package/dist/cli-reference.json +27 -12
- package/dist/cli-reference.mdx.js +49 -10
- 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-1657855941534.js → preview-1658287707886.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.41.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
[
|
|
573
573
|
"r",
|
|
574
574
|
"reset",
|
|
575
|
-
"revert changes that were not snapped"
|
|
575
|
+
"revert changes that were not snapped/tagged"
|
|
576
576
|
],
|
|
577
577
|
[
|
|
578
578
|
"a",
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
]
|
|
612
612
|
],
|
|
613
613
|
"description": "switch between component versions or remove local changes",
|
|
614
|
-
"extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout
|
|
614
|
+
"extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head` => checkout all components to their latest versions\n `bit checkout head [ids...]` => checkout the specified ids to their latest versions\n `bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)\n you can use a pattern for multiple ids, such as bit checkout 0.0.1 \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
615
615
|
"group": "development",
|
|
616
616
|
"private": false
|
|
617
617
|
},
|
|
@@ -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
|
},
|
|
@@ -2089,7 +2089,7 @@
|
|
|
2089
2089
|
]
|
|
2090
2090
|
},
|
|
2091
2091
|
{
|
|
2092
|
-
"name": "reset [component-pattern]
|
|
2092
|
+
"name": "reset [component-pattern]",
|
|
2093
2093
|
"alias": "",
|
|
2094
2094
|
"options": [
|
|
2095
2095
|
[
|
|
@@ -2097,6 +2097,11 @@
|
|
|
2097
2097
|
"all",
|
|
2098
2098
|
"revert tag/snap for all tagged/snapped components"
|
|
2099
2099
|
],
|
|
2100
|
+
[
|
|
2101
|
+
"",
|
|
2102
|
+
"head",
|
|
2103
|
+
"revert the head tag/snap only (by default, all local tags/snaps are reverted)"
|
|
2104
|
+
],
|
|
2100
2105
|
[
|
|
2101
2106
|
"",
|
|
2102
2107
|
"soft",
|
|
@@ -2182,6 +2187,11 @@
|
|
|
2182
2187
|
"json",
|
|
2183
2188
|
"return a json version of the component"
|
|
2184
2189
|
],
|
|
2190
|
+
[
|
|
2191
|
+
"",
|
|
2192
|
+
"verbose",
|
|
2193
|
+
"show full snap hashes"
|
|
2194
|
+
],
|
|
2185
2195
|
[
|
|
2186
2196
|
"",
|
|
2187
2197
|
"strict",
|
|
@@ -2660,6 +2670,11 @@
|
|
|
2660
2670
|
"r",
|
|
2661
2671
|
"refactor",
|
|
2662
2672
|
"update the import/require statements in all dependent components (in the same workspace)"
|
|
2673
|
+
],
|
|
2674
|
+
[
|
|
2675
|
+
"",
|
|
2676
|
+
"skip-dependency-installation",
|
|
2677
|
+
"do not install packages of the imported components"
|
|
2663
2678
|
]
|
|
2664
2679
|
],
|
|
2665
2680
|
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
|
@@ -3106,7 +3121,7 @@
|
|
|
3106
3121
|
"remoteOp": true
|
|
3107
3122
|
},
|
|
3108
3123
|
{
|
|
3109
|
-
"name": "export [component-
|
|
3124
|
+
"name": "export [component-patterns...]",
|
|
3110
3125
|
"alias": "e",
|
|
3111
3126
|
"options": [
|
|
3112
3127
|
[
|
|
@@ -3117,12 +3132,12 @@
|
|
|
3117
3132
|
[
|
|
3118
3133
|
"a",
|
|
3119
3134
|
"all",
|
|
3120
|
-
"export all components, including non-staged"
|
|
3135
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
3121
3136
|
],
|
|
3122
3137
|
[
|
|
3123
3138
|
"",
|
|
3124
3139
|
"all-versions",
|
|
3125
|
-
"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)"
|
|
3126
3141
|
],
|
|
3127
3142
|
[
|
|
3128
3143
|
"",
|
|
@@ -3152,8 +3167,8 @@
|
|
|
3152
3167
|
"remoteOp": true,
|
|
3153
3168
|
"arguments": [
|
|
3154
3169
|
{
|
|
3155
|
-
"name": "component-
|
|
3156
|
-
"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)"
|
|
3157
3172
|
}
|
|
3158
3173
|
]
|
|
3159
3174
|
},
|
package/cli-reference.mdx
CHANGED
|
@@ -201,8 +201,8 @@ with no args, only workspace's capsules are deleted
|
|
|
201
201
|
**Description**: switch between component versions or remove local changes
|
|
202
202
|
|
|
203
203
|
`bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version
|
|
204
|
-
`bit checkout
|
|
205
|
-
`bit checkout
|
|
204
|
+
`bit checkout head` => checkout all components to their latest versions
|
|
205
|
+
`bit checkout head [ids...]` => checkout the specified ids to their latest versions
|
|
206
206
|
`bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)
|
|
207
207
|
you can use a pattern for multiple ids, such as bit checkout 0.0.1 "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
208
208
|
|
|
@@ -214,7 +214,7 @@ with no args, only workspace's capsules are deleted
|
|
|
214
214
|
| `--ours` | `-o` | in case of a conflict, override the used version with the current modification |
|
|
215
215
|
| `--theirs` | `-t` | in case of a conflict, override the current modification with the specified version |
|
|
216
216
|
| `--manual` | `-m` | in case of a conflict, leave the files with a conflict state to resolve them manually later |
|
|
217
|
-
| `--reset` | `-r` | revert changes that were not snapped
|
|
217
|
+
| `--reset` | `-r` | revert changes that were not snapped/tagged |
|
|
218
218
|
| `--all` | `-a` | all components |
|
|
219
219
|
| `--verbose` | `-v` | showing verbose output for inspection |
|
|
220
220
|
| `--skip-npm-install` | | DEPRECATED. use "--skip-dependency-installation" instead |
|
|
@@ -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 |
|
|
@@ -538,11 +538,12 @@ you can use a pattern for multiple ids, such as bit export remote-scope "utils/\
|
|
|
538
538
|
|
|
539
539
|
`bit fork <source-component-id> [target-component-name]`
|
|
540
540
|
|
|
541
|
-
| **Option**
|
|
542
|
-
|
|
|
543
|
-
| `--scope <string>`
|
|
544
|
-
| `--path <string>`
|
|
545
|
-
| `--refactor`
|
|
541
|
+
| **Option** | **Option alias** | **Description** |
|
|
542
|
+
| -------------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------- |
|
|
543
|
+
| `--scope <string>` | `-s` | default scope for the new component |
|
|
544
|
+
| `--path <string>` | `-p` | relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>` |
|
|
545
|
+
| `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
|
|
546
|
+
| `--skip-dependency-installation` | | do not install packages of the imported components |
|
|
546
547
|
|
|
547
548
|
---
|
|
548
549
|
|
|
@@ -603,11 +604,11 @@ you can use a pattern for multiple ids, such as bit export remote-scope "utils/\
|
|
|
603
604
|
## import
|
|
604
605
|
|
|
605
606
|
**Workspace only**: yes
|
|
606
|
-
**Description**: import components from remote scopes to the local workspace
|
|
607
|
+
**Description**: import components from their remote scopes to the local workspace
|
|
607
608
|
https://bit.dev/docs/components/importing-components
|
|
608
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)
|
|
609
610
|
|
|
610
|
-
`bit import [component-
|
|
611
|
+
`bit import [component-patterns...]`
|
|
611
612
|
|
|
612
613
|
| **Option** | **Option alias** | **Description** |
|
|
613
614
|
| -------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
@@ -953,11 +954,12 @@ you can use a pattern for multiple ids, such as bit remove "utils/\*". (wrap the
|
|
|
953
954
|
**Description**: revert tagged or snapped versions for component(s)
|
|
954
955
|
https://bit.dev/docs/components/tags#undoing-a-tag
|
|
955
956
|
|
|
956
|
-
`bit reset [component-pattern]
|
|
957
|
+
`bit reset [component-pattern]`
|
|
957
958
|
|
|
958
959
|
| **Option** | **Option alias** | **Description** |
|
|
959
960
|
| ---------- | :--------------: | ----------------------------------------------------------------------------------------------------- |
|
|
960
961
|
| `--all` | `-a` | revert tag/snap for all tagged/snapped components |
|
|
962
|
+
| `--head` | | revert the head tag/snap only (by default, all local tags/snaps are reverted) |
|
|
961
963
|
| `--soft` | | revert only soft-tags (components tagged with --soft flag) |
|
|
962
964
|
| `--force` | `-f` | revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt |
|
|
963
965
|
|
|
@@ -1109,10 +1111,11 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
1109
1111
|
|
|
1110
1112
|
`bit status`
|
|
1111
1113
|
|
|
1112
|
-
| **Option**
|
|
1113
|
-
|
|
|
1114
|
-
| `--json`
|
|
1115
|
-
| `--
|
|
1114
|
+
| **Option** | **Option alias** | **Description** |
|
|
1115
|
+
| ----------- | :--------------: | -------------------------------------- |
|
|
1116
|
+
| `--json` | `-j` | return a json version of the component |
|
|
1117
|
+
| `--verbose` | | show full snap hashes |
|
|
1118
|
+
| `--strict` | | in case issues found, exit with code 1 |
|
|
1116
1119
|
|
|
1117
1120
|
---
|
|
1118
1121
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
[
|
|
573
573
|
"r",
|
|
574
574
|
"reset",
|
|
575
|
-
"revert changes that were not snapped"
|
|
575
|
+
"revert changes that were not snapped/tagged"
|
|
576
576
|
],
|
|
577
577
|
[
|
|
578
578
|
"a",
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
]
|
|
612
612
|
],
|
|
613
613
|
"description": "switch between component versions or remove local changes",
|
|
614
|
-
"extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout
|
|
614
|
+
"extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head` => checkout all components to their latest versions\n `bit checkout head [ids...]` => checkout the specified ids to their latest versions\n `bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)\n you can use a pattern for multiple ids, such as bit checkout 0.0.1 \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
615
615
|
"group": "development",
|
|
616
616
|
"private": false
|
|
617
617
|
},
|
|
@@ -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
|
},
|
|
@@ -2089,7 +2089,7 @@
|
|
|
2089
2089
|
]
|
|
2090
2090
|
},
|
|
2091
2091
|
{
|
|
2092
|
-
"name": "reset [component-pattern]
|
|
2092
|
+
"name": "reset [component-pattern]",
|
|
2093
2093
|
"alias": "",
|
|
2094
2094
|
"options": [
|
|
2095
2095
|
[
|
|
@@ -2097,6 +2097,11 @@
|
|
|
2097
2097
|
"all",
|
|
2098
2098
|
"revert tag/snap for all tagged/snapped components"
|
|
2099
2099
|
],
|
|
2100
|
+
[
|
|
2101
|
+
"",
|
|
2102
|
+
"head",
|
|
2103
|
+
"revert the head tag/snap only (by default, all local tags/snaps are reverted)"
|
|
2104
|
+
],
|
|
2100
2105
|
[
|
|
2101
2106
|
"",
|
|
2102
2107
|
"soft",
|
|
@@ -2182,6 +2187,11 @@
|
|
|
2182
2187
|
"json",
|
|
2183
2188
|
"return a json version of the component"
|
|
2184
2189
|
],
|
|
2190
|
+
[
|
|
2191
|
+
"",
|
|
2192
|
+
"verbose",
|
|
2193
|
+
"show full snap hashes"
|
|
2194
|
+
],
|
|
2185
2195
|
[
|
|
2186
2196
|
"",
|
|
2187
2197
|
"strict",
|
|
@@ -2660,6 +2670,11 @@
|
|
|
2660
2670
|
"r",
|
|
2661
2671
|
"refactor",
|
|
2662
2672
|
"update the import/require statements in all dependent components (in the same workspace)"
|
|
2673
|
+
],
|
|
2674
|
+
[
|
|
2675
|
+
"",
|
|
2676
|
+
"skip-dependency-installation",
|
|
2677
|
+
"do not install packages of the imported components"
|
|
2663
2678
|
]
|
|
2664
2679
|
],
|
|
2665
2680
|
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
|
@@ -3106,7 +3121,7 @@
|
|
|
3106
3121
|
"remoteOp": true
|
|
3107
3122
|
},
|
|
3108
3123
|
{
|
|
3109
|
-
"name": "export [component-
|
|
3124
|
+
"name": "export [component-patterns...]",
|
|
3110
3125
|
"alias": "e",
|
|
3111
3126
|
"options": [
|
|
3112
3127
|
[
|
|
@@ -3117,12 +3132,12 @@
|
|
|
3117
3132
|
[
|
|
3118
3133
|
"a",
|
|
3119
3134
|
"all",
|
|
3120
|
-
"export all components, including non-staged"
|
|
3135
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
3121
3136
|
],
|
|
3122
3137
|
[
|
|
3123
3138
|
"",
|
|
3124
3139
|
"all-versions",
|
|
3125
|
-
"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)"
|
|
3126
3141
|
],
|
|
3127
3142
|
[
|
|
3128
3143
|
"",
|
|
@@ -3152,8 +3167,8 @@
|
|
|
3152
3167
|
"remoteOp": true,
|
|
3153
3168
|
"arguments": [
|
|
3154
3169
|
{
|
|
3155
|
-
"name": "component-
|
|
3156
|
-
"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)"
|
|
3157
3172
|
}
|
|
3158
3173
|
]
|
|
3159
3174
|
},
|
|
@@ -883,11 +883,11 @@ function MDXContent(_ref) {
|
|
|
883
883
|
parentName: "p"
|
|
884
884
|
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
885
885
|
parentName: "p"
|
|
886
|
-
}, "bit checkout
|
|
886
|
+
}, "bit checkout head"), " => checkout all components to their latest versions", (0, _react2.mdx)("br", {
|
|
887
887
|
parentName: "p"
|
|
888
888
|
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
889
889
|
parentName: "p"
|
|
890
|
-
}, "bit checkout
|
|
890
|
+
}, "bit checkout head [ids...]"), " => checkout the specified ids to their latest versions", (0, _react2.mdx)("br", {
|
|
891
891
|
parentName: "p"
|
|
892
892
|
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
893
893
|
parentName: "p"
|
|
@@ -991,7 +991,7 @@ function MDXContent(_ref) {
|
|
|
991
991
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
992
992
|
parentName: "tr",
|
|
993
993
|
"align": null
|
|
994
|
-
}, "revert changes that were not snapped")), (0, _react2.mdx)("tr", {
|
|
994
|
+
}, "revert changes that were not snapped/tagged")), (0, _react2.mdx)("tr", {
|
|
995
995
|
parentName: "tbody"
|
|
996
996
|
}, (0, _react2.mdx)("td", {
|
|
997
997
|
parentName: "tr",
|
|
@@ -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",
|
|
@@ -2192,7 +2192,20 @@ function MDXContent(_ref) {
|
|
|
2192
2192
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
2193
2193
|
parentName: "tr",
|
|
2194
2194
|
"align": null
|
|
2195
|
-
}, "update the import/require statements in all dependent components (in the same workspace)"))
|
|
2195
|
+
}, "update the import/require statements in all dependent components (in the same workspace)")), (0, _react2.mdx)("tr", {
|
|
2196
|
+
parentName: "tbody"
|
|
2197
|
+
}, (0, _react2.mdx)("td", {
|
|
2198
|
+
parentName: "tr",
|
|
2199
|
+
"align": null
|
|
2200
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2201
|
+
parentName: "td"
|
|
2202
|
+
}, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
|
|
2203
|
+
parentName: "tr",
|
|
2204
|
+
"align": "center"
|
|
2205
|
+
}), (0, _react2.mdx)("td", {
|
|
2206
|
+
parentName: "tr",
|
|
2207
|
+
"align": null
|
|
2208
|
+
}, "do not install packages of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "format"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2196
2209
|
parentName: "p"
|
|
2197
2210
|
}, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
|
|
2198
2211
|
parentName: "p"
|
|
@@ -2413,7 +2426,7 @@ function MDXContent(_ref) {
|
|
|
2413
2426
|
parentName: "p"
|
|
2414
2427
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
2415
2428
|
parentName: "p"
|
|
2416
|
-
}, "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", {
|
|
2417
2430
|
parentName: "p"
|
|
2418
2431
|
}), "\n", (0, _react2.mdx)("a", {
|
|
2419
2432
|
parentName: "p",
|
|
@@ -2422,7 +2435,7 @@ function MDXContent(_ref) {
|
|
|
2422
2435
|
parentName: "p"
|
|
2423
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", {
|
|
2424
2437
|
parentName: "p"
|
|
2425
|
-
}, "bit import [component-
|
|
2438
|
+
}, "bit import [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2426
2439
|
parentName: "table"
|
|
2427
2440
|
}, (0, _react2.mdx)("tr", {
|
|
2428
2441
|
parentName: "thead"
|
|
@@ -4280,7 +4293,7 @@ function MDXContent(_ref) {
|
|
|
4280
4293
|
"href": "https://bit.dev/docs/components/tags#undoing-a-tag"
|
|
4281
4294
|
}, "https://bit.dev/docs/components/tags#undoing-a-tag")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4282
4295
|
parentName: "p"
|
|
4283
|
-
}, "bit reset [component-pattern]
|
|
4296
|
+
}, "bit reset [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4284
4297
|
parentName: "table"
|
|
4285
4298
|
}, (0, _react2.mdx)("tr", {
|
|
4286
4299
|
parentName: "thead"
|
|
@@ -4323,6 +4336,19 @@ function MDXContent(_ref) {
|
|
|
4323
4336
|
"align": null
|
|
4324
4337
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4325
4338
|
parentName: "td"
|
|
4339
|
+
}, "--head")), (0, _react2.mdx)("td", {
|
|
4340
|
+
parentName: "tr",
|
|
4341
|
+
"align": "center"
|
|
4342
|
+
}), (0, _react2.mdx)("td", {
|
|
4343
|
+
parentName: "tr",
|
|
4344
|
+
"align": null
|
|
4345
|
+
}, "revert the head tag/snap only (by default, all local tags/snaps are reverted)")), (0, _react2.mdx)("tr", {
|
|
4346
|
+
parentName: "tbody"
|
|
4347
|
+
}, (0, _react2.mdx)("td", {
|
|
4348
|
+
parentName: "tr",
|
|
4349
|
+
"align": null
|
|
4350
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4351
|
+
parentName: "td"
|
|
4326
4352
|
}, "--soft")), (0, _react2.mdx)("td", {
|
|
4327
4353
|
parentName: "tr",
|
|
4328
4354
|
"align": "center"
|
|
@@ -4859,6 +4885,19 @@ function MDXContent(_ref) {
|
|
|
4859
4885
|
"align": null
|
|
4860
4886
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4861
4887
|
parentName: "td"
|
|
4888
|
+
}, "--verbose")), (0, _react2.mdx)("td", {
|
|
4889
|
+
parentName: "tr",
|
|
4890
|
+
"align": "center"
|
|
4891
|
+
}), (0, _react2.mdx)("td", {
|
|
4892
|
+
parentName: "tr",
|
|
4893
|
+
"align": null
|
|
4894
|
+
}, "show full snap hashes")), (0, _react2.mdx)("tr", {
|
|
4895
|
+
parentName: "tbody"
|
|
4896
|
+
}, (0, _react2.mdx)("td", {
|
|
4897
|
+
parentName: "tr",
|
|
4898
|
+
"align": null
|
|
4899
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4900
|
+
parentName: "td"
|
|
4862
4901
|
}, "--strict")), (0, _react2.mdx)("td", {
|
|
4863
4902
|
parentName: "tr",
|
|
4864
4903
|
"align": "center"
|