@teambit/harmony.content.cli-reference 1.95.160 → 1.95.162
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 +46 -36
- package/cli-reference.mdx +66 -64
- package/dist/cli-reference.json +46 -36
- package/dist/cli-reference.mdx.js +60 -32
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1687750044063.js → preview-1688181390351.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.162.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.160.tgz +0 -0
package/dist/cli-reference.json
CHANGED
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
"name": "dependents <component-name>",
|
|
229
229
|
"alias": "",
|
|
230
230
|
"options": [],
|
|
231
|
-
"description": "
|
|
231
|
+
"description": "show dependents of the given component",
|
|
232
232
|
"extendedDescription": "",
|
|
233
233
|
"group": "info",
|
|
234
234
|
"private": false
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"output the commands info as JSON"
|
|
629
629
|
]
|
|
630
630
|
],
|
|
631
|
-
"description": "
|
|
631
|
+
"description": "generate an .md file with all commands details",
|
|
632
632
|
"extendedDescription": "",
|
|
633
633
|
"group": "general",
|
|
634
634
|
"private": false
|
|
@@ -967,7 +967,7 @@
|
|
|
967
967
|
"json format"
|
|
968
968
|
]
|
|
969
969
|
],
|
|
970
|
-
"description": "
|
|
970
|
+
"description": "generate an image file with the dependencies graph",
|
|
971
971
|
"extendedDescription": "",
|
|
972
972
|
"group": "discover",
|
|
973
973
|
"private": false,
|
|
@@ -977,7 +977,7 @@
|
|
|
977
977
|
"name": "scope <sub-command>",
|
|
978
978
|
"alias": "",
|
|
979
979
|
"options": [],
|
|
980
|
-
"description": "
|
|
980
|
+
"description": "manage the scope-name for components",
|
|
981
981
|
"extendedDescription": "",
|
|
982
982
|
"group": "development",
|
|
983
983
|
"private": false,
|
|
@@ -1822,7 +1822,7 @@
|
|
|
1822
1822
|
[
|
|
1823
1823
|
"",
|
|
1824
1824
|
"target <dir>",
|
|
1825
|
-
"
|
|
1825
|
+
"link to an external directory (similar to npm-link) so other projects could use these components"
|
|
1826
1826
|
],
|
|
1827
1827
|
[
|
|
1828
1828
|
"",
|
|
@@ -1907,17 +1907,17 @@
|
|
|
1907
1907
|
[
|
|
1908
1908
|
"",
|
|
1909
1909
|
"dependencies",
|
|
1910
|
-
"
|
|
1910
|
+
"import all dependencies and write them to the workspace"
|
|
1911
1911
|
],
|
|
1912
1912
|
[
|
|
1913
1913
|
"",
|
|
1914
1914
|
"dependents",
|
|
1915
|
-
"
|
|
1915
|
+
"import components found while traversing from the given ids upwards to the workspace components"
|
|
1916
1916
|
],
|
|
1917
1917
|
[
|
|
1918
1918
|
"",
|
|
1919
1919
|
"save-in-lane",
|
|
1920
|
-
"
|
|
1920
|
+
"when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main)"
|
|
1921
1921
|
],
|
|
1922
1922
|
[
|
|
1923
1923
|
"",
|
|
@@ -1933,6 +1933,11 @@
|
|
|
1933
1933
|
"",
|
|
1934
1934
|
"track-only",
|
|
1935
1935
|
"do not write any file, just create .bitmap entries of the imported components"
|
|
1936
|
+
],
|
|
1937
|
+
[
|
|
1938
|
+
"",
|
|
1939
|
+
"include-deprecated",
|
|
1940
|
+
"when importing with patterns, include deprecated components (default to exclude them)"
|
|
1936
1941
|
]
|
|
1937
1942
|
],
|
|
1938
1943
|
"description": "import components from their remote scopes to the local workspace",
|
|
@@ -1954,7 +1959,7 @@
|
|
|
1954
1959
|
[
|
|
1955
1960
|
"l",
|
|
1956
1961
|
"lanes",
|
|
1957
|
-
"
|
|
1962
|
+
"fetch component objects from lanes. note, it does not save the remote lanes objects locally, only the refs"
|
|
1958
1963
|
],
|
|
1959
1964
|
[
|
|
1960
1965
|
"c",
|
|
@@ -2149,7 +2154,7 @@
|
|
|
2149
2154
|
[
|
|
2150
2155
|
"",
|
|
2151
2156
|
"editor [editor]",
|
|
2152
|
-
"
|
|
2157
|
+
"open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
2153
2158
|
],
|
|
2154
2159
|
[
|
|
2155
2160
|
"v",
|
|
@@ -2189,12 +2194,12 @@
|
|
|
2189
2194
|
[
|
|
2190
2195
|
"",
|
|
2191
2196
|
"snapped",
|
|
2192
|
-
"
|
|
2197
|
+
"tag components that their head is a snap (not a tag)"
|
|
2193
2198
|
],
|
|
2194
2199
|
[
|
|
2195
2200
|
"",
|
|
2196
2201
|
"unmerged",
|
|
2197
|
-
"
|
|
2202
|
+
"complete a merge process by tagging the unmerged components"
|
|
2198
2203
|
],
|
|
2199
2204
|
[
|
|
2200
2205
|
"",
|
|
@@ -2249,7 +2254,7 @@
|
|
|
2249
2254
|
[
|
|
2250
2255
|
"b",
|
|
2251
2256
|
"build",
|
|
2252
|
-
"
|
|
2257
|
+
"not needed for now. run the pipeline build and complete the tag"
|
|
2253
2258
|
],
|
|
2254
2259
|
[
|
|
2255
2260
|
"a",
|
|
@@ -2307,17 +2312,17 @@
|
|
|
2307
2312
|
[
|
|
2308
2313
|
"",
|
|
2309
2314
|
"unmerged",
|
|
2310
|
-
"
|
|
2315
|
+
"complete a merge process by snapping the unmerged components"
|
|
2311
2316
|
],
|
|
2312
2317
|
[
|
|
2313
2318
|
"b",
|
|
2314
2319
|
"build",
|
|
2315
|
-
"
|
|
2320
|
+
"not needed for now. run the build pipeline in case the feature-flag build-on-ci is enabled"
|
|
2316
2321
|
],
|
|
2317
2322
|
[
|
|
2318
2323
|
"",
|
|
2319
2324
|
"editor [editor]",
|
|
2320
|
-
"
|
|
2325
|
+
"open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
2321
2326
|
],
|
|
2322
2327
|
[
|
|
2323
2328
|
"",
|
|
@@ -2360,7 +2365,7 @@
|
|
|
2360
2365
|
"DEPRECATED (use \"--skip-tests\" or \"--unmodified\" instead). force-snap even if tests are failing and even when component has not changed"
|
|
2361
2366
|
]
|
|
2362
2367
|
],
|
|
2363
|
-
"description": "
|
|
2368
|
+
"description": "create an immutable and exportable component snapshot (no release version)",
|
|
2364
2369
|
"extendedDescription": "",
|
|
2365
2370
|
"group": "development",
|
|
2366
2371
|
"private": false,
|
|
@@ -2705,17 +2710,17 @@
|
|
|
2705
2710
|
[
|
|
2706
2711
|
"",
|
|
2707
2712
|
"abort",
|
|
2708
|
-
"
|
|
2713
|
+
"in case of an unresolved merge, revert to the state before the merge began"
|
|
2709
2714
|
],
|
|
2710
2715
|
[
|
|
2711
2716
|
"",
|
|
2712
2717
|
"resolve",
|
|
2713
|
-
"
|
|
2718
|
+
"mark an unresolved merge as resolved and create a new snap with the changes"
|
|
2714
2719
|
],
|
|
2715
2720
|
[
|
|
2716
2721
|
"",
|
|
2717
2722
|
"no-snap",
|
|
2718
|
-
"
|
|
2723
|
+
"do not auto snap in case the merge completed without conflicts"
|
|
2719
2724
|
],
|
|
2720
2725
|
[
|
|
2721
2726
|
"",
|
|
@@ -2735,7 +2740,7 @@
|
|
|
2735
2740
|
[
|
|
2736
2741
|
"m",
|
|
2737
2742
|
"message <message>",
|
|
2738
|
-
"
|
|
2743
|
+
"override the default message for the auto snap"
|
|
2739
2744
|
]
|
|
2740
2745
|
],
|
|
2741
2746
|
"description": "merge changes of the remote head into local",
|
|
@@ -2864,7 +2869,7 @@
|
|
|
2864
2869
|
[
|
|
2865
2870
|
"p",
|
|
2866
2871
|
"pattern <component-pattern>",
|
|
2867
|
-
"
|
|
2872
|
+
"switch only the specified component-pattern. works only when the workspace is empty"
|
|
2868
2873
|
],
|
|
2869
2874
|
[
|
|
2870
2875
|
"j",
|
|
@@ -3001,7 +3006,7 @@
|
|
|
3001
3006
|
[
|
|
3002
3007
|
"",
|
|
3003
3008
|
"pattern <component-pattern>",
|
|
3004
|
-
"
|
|
3009
|
+
"show lane-diff for the specified component-pattern only"
|
|
3005
3010
|
]
|
|
3006
3011
|
],
|
|
3007
3012
|
"description": "show diff between lanes",
|
|
@@ -3053,7 +3058,7 @@
|
|
|
3053
3058
|
[
|
|
3054
3059
|
"p",
|
|
3055
3060
|
"pattern <component-pattern>",
|
|
3056
|
-
"
|
|
3061
|
+
"switch only the specified component-pattern. works only when the workspace is empty"
|
|
3057
3062
|
]
|
|
3058
3063
|
],
|
|
3059
3064
|
"description": "import a remote lane to your workspace",
|
|
@@ -3175,12 +3180,12 @@
|
|
|
3175
3180
|
[
|
|
3176
3181
|
"",
|
|
3177
3182
|
"include-deps",
|
|
3178
|
-
"
|
|
3183
|
+
"relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the given components"
|
|
3179
3184
|
],
|
|
3180
3185
|
[
|
|
3181
3186
|
"",
|
|
3182
3187
|
"resolve-unrelated [merge-strategy]",
|
|
3183
|
-
"
|
|
3188
|
+
"relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\""
|
|
3184
3189
|
]
|
|
3185
3190
|
],
|
|
3186
3191
|
"description": "merge a local or a remote lane",
|
|
@@ -3194,7 +3199,7 @@
|
|
|
3194
3199
|
},
|
|
3195
3200
|
{
|
|
3196
3201
|
"name": "pattern",
|
|
3197
|
-
"description": "
|
|
3202
|
+
"description": "partially merge the lane with the specified component-pattern"
|
|
3198
3203
|
}
|
|
3199
3204
|
]
|
|
3200
3205
|
}
|
|
@@ -3227,7 +3232,7 @@
|
|
|
3227
3232
|
[
|
|
3228
3233
|
"p",
|
|
3229
3234
|
"pattern <component-pattern>",
|
|
3230
|
-
"
|
|
3235
|
+
"switch only the specified component-pattern. works only when the workspace is empty"
|
|
3231
3236
|
],
|
|
3232
3237
|
[
|
|
3233
3238
|
"j",
|
|
@@ -3268,12 +3273,12 @@
|
|
|
3268
3273
|
[
|
|
3269
3274
|
"",
|
|
3270
3275
|
"no-squash",
|
|
3271
|
-
"
|
|
3276
|
+
"relevant for merging lanes into main, which by default squash."
|
|
3272
3277
|
],
|
|
3273
3278
|
[
|
|
3274
3279
|
"",
|
|
3275
3280
|
"include-deps",
|
|
3276
|
-
"
|
|
3281
|
+
"relevant for \"--pattern\". merge also dependencies of the given components"
|
|
3277
3282
|
],
|
|
3278
3283
|
[
|
|
3279
3284
|
"j",
|
|
@@ -3586,7 +3591,7 @@
|
|
|
3586
3591
|
"name": "refactor <sub-command>",
|
|
3587
3592
|
"alias": "",
|
|
3588
3593
|
"options": [],
|
|
3589
|
-
"description": "
|
|
3594
|
+
"description": "source code refactoring / codemod",
|
|
3590
3595
|
"extendedDescription": "",
|
|
3591
3596
|
"group": "development",
|
|
3592
3597
|
"private": false,
|
|
@@ -3636,7 +3641,7 @@
|
|
|
3636
3641
|
"name": "mini-status [component-pattern]",
|
|
3637
3642
|
"alias": "ms",
|
|
3638
3643
|
"options": [],
|
|
3639
|
-
"description": "basic status for fast execution",
|
|
3644
|
+
"description": "EXPERIMENTAL. basic status for fast execution",
|
|
3640
3645
|
"extendedDescription": "shows only modified/new components. for the full status, use \"bit status\".\nthe modified are components that their source code have changed, it doesn't check for config/aspect changes",
|
|
3641
3646
|
"group": "development",
|
|
3642
3647
|
"private": false,
|
|
@@ -3944,7 +3949,7 @@
|
|
|
3944
3949
|
"name": "aspect <sub-command>",
|
|
3945
3950
|
"alias": "",
|
|
3946
3951
|
"options": [],
|
|
3947
|
-
"description": "
|
|
3952
|
+
"description": "manage aspects",
|
|
3948
3953
|
"extendedDescription": "",
|
|
3949
3954
|
"group": "development",
|
|
3950
3955
|
"private": false,
|
|
@@ -4103,7 +4108,7 @@
|
|
|
4103
4108
|
[
|
|
4104
4109
|
"",
|
|
4105
4110
|
"parents",
|
|
4106
|
-
"
|
|
4111
|
+
"show parents and lanes data"
|
|
4107
4112
|
],
|
|
4108
4113
|
[
|
|
4109
4114
|
"o",
|
|
@@ -4209,7 +4214,7 @@
|
|
|
4209
4214
|
"avoid renaming files and variables/classes according to the new component name"
|
|
4210
4215
|
]
|
|
4211
4216
|
],
|
|
4212
|
-
"description": "
|
|
4217
|
+
"description": "rename component. if tagged/exported, create a new component and deprecate the original component",
|
|
4213
4218
|
"extendedDescription": "",
|
|
4214
4219
|
"group": "collaborate",
|
|
4215
4220
|
"private": false,
|
|
@@ -4250,6 +4255,11 @@
|
|
|
4250
4255
|
"skip-dependency-installation",
|
|
4251
4256
|
"do not install packages of the imported components"
|
|
4252
4257
|
],
|
|
4258
|
+
[
|
|
4259
|
+
"e",
|
|
4260
|
+
"env <string>",
|
|
4261
|
+
"set the environment for the new component"
|
|
4262
|
+
],
|
|
4253
4263
|
[
|
|
4254
4264
|
"",
|
|
4255
4265
|
"skip-config",
|
|
@@ -4266,7 +4276,7 @@
|
|
|
4266
4276
|
"avoid saving a reference to the original component"
|
|
4267
4277
|
]
|
|
4268
4278
|
],
|
|
4269
|
-
"description": "
|
|
4279
|
+
"description": "create a new component out of an existing one (copies source files and config)",
|
|
4270
4280
|
"extendedDescription": "",
|
|
4271
4281
|
"group": "collaborate",
|
|
4272
4282
|
"private": false,
|
|
@@ -393,7 +393,7 @@ function MDXContent(_ref) {
|
|
|
393
393
|
"align": null
|
|
394
394
|
}, "download the files to the specified dir")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "aspect"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
395
395
|
parentName: "p"
|
|
396
|
-
}, "Description"), ":
|
|
396
|
+
}, "Description"), ": manage aspects"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
397
397
|
parentName: "p"
|
|
398
398
|
}, "bit aspect <sub-command>")), (0, _react2.mdx)("h3", null, "aspect list"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
399
399
|
parentName: "p"
|
|
@@ -1300,7 +1300,7 @@ function MDXContent(_ref) {
|
|
|
1300
1300
|
parentName: "p"
|
|
1301
1301
|
}, "cli generate")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1302
1302
|
parentName: "p"
|
|
1303
|
-
}, "Description"), ":
|
|
1303
|
+
}, "Description"), ": generate an .md file with all commands details"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
1304
1304
|
parentName: "table"
|
|
1305
1305
|
}, (0, _react2.mdx)("tr", {
|
|
1306
1306
|
parentName: "thead"
|
|
@@ -1590,7 +1590,7 @@ function MDXContent(_ref) {
|
|
|
1590
1590
|
"align": null
|
|
1591
1591
|
}, "set the component's environment. (overrides the env from variants and the template)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependents"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1592
1592
|
parentName: "p"
|
|
1593
|
-
}, "Description"), ":
|
|
1593
|
+
}, "Description"), ": show dependents of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1594
1594
|
parentName: "p"
|
|
1595
1595
|
}, "bit dependents <component-name>")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deprecate"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1596
1596
|
parentName: "p"
|
|
@@ -2418,7 +2418,7 @@ function MDXContent(_ref) {
|
|
|
2418
2418
|
"align": null
|
|
2419
2419
|
}, "show output in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "fork"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2420
2420
|
parentName: "p"
|
|
2421
|
-
}, "Description"), ":
|
|
2421
|
+
}, "Description"), ": create a new component out of an existing one (copies source files and config)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2422
2422
|
parentName: "p"
|
|
2423
2423
|
}, "bit fork <source-component-id> [target-component-name]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2424
2424
|
parentName: "table"
|
|
@@ -2510,6 +2510,21 @@ function MDXContent(_ref) {
|
|
|
2510
2510
|
"align": null
|
|
2511
2511
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2512
2512
|
parentName: "td"
|
|
2513
|
+
}, "--env <string>")), (0, _react2.mdx)("td", {
|
|
2514
|
+
parentName: "tr",
|
|
2515
|
+
"align": "center"
|
|
2516
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2517
|
+
parentName: "td"
|
|
2518
|
+
}, "-e")), (0, _react2.mdx)("td", {
|
|
2519
|
+
parentName: "tr",
|
|
2520
|
+
"align": null
|
|
2521
|
+
}, "set the environment for the new component")), (0, _react2.mdx)("tr", {
|
|
2522
|
+
parentName: "tbody"
|
|
2523
|
+
}, (0, _react2.mdx)("td", {
|
|
2524
|
+
parentName: "tr",
|
|
2525
|
+
"align": null
|
|
2526
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2527
|
+
parentName: "td"
|
|
2513
2528
|
}, "--skip-config")), (0, _react2.mdx)("td", {
|
|
2514
2529
|
parentName: "tr",
|
|
2515
2530
|
"align": "center"
|
|
@@ -2652,7 +2667,7 @@ function MDXContent(_ref) {
|
|
|
2652
2667
|
"align": null
|
|
2653
2668
|
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2654
2669
|
parentName: "p"
|
|
2655
|
-
}, "Description"), ":
|
|
2670
|
+
}, "Description"), ": generate an image file with the dependencies graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2656
2671
|
parentName: "p"
|
|
2657
2672
|
}, "bit graph [id]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2658
2673
|
parentName: "table"
|
|
@@ -2948,7 +2963,7 @@ function MDXContent(_ref) {
|
|
|
2948
2963
|
}), (0, _react2.mdx)("td", {
|
|
2949
2964
|
parentName: "tr",
|
|
2950
2965
|
"align": null
|
|
2951
|
-
}, "
|
|
2966
|
+
}, "import all dependencies and write them to the workspace")), (0, _react2.mdx)("tr", {
|
|
2952
2967
|
parentName: "tbody"
|
|
2953
2968
|
}, (0, _react2.mdx)("td", {
|
|
2954
2969
|
parentName: "tr",
|
|
@@ -2961,7 +2976,7 @@ function MDXContent(_ref) {
|
|
|
2961
2976
|
}), (0, _react2.mdx)("td", {
|
|
2962
2977
|
parentName: "tr",
|
|
2963
2978
|
"align": null
|
|
2964
|
-
}, "
|
|
2979
|
+
}, "import components found while traversing from the given ids upwards to the workspace components")), (0, _react2.mdx)("tr", {
|
|
2965
2980
|
parentName: "tbody"
|
|
2966
2981
|
}, (0, _react2.mdx)("td", {
|
|
2967
2982
|
parentName: "tr",
|
|
@@ -2974,7 +2989,7 @@ function MDXContent(_ref) {
|
|
|
2974
2989
|
}), (0, _react2.mdx)("td", {
|
|
2975
2990
|
parentName: "tr",
|
|
2976
2991
|
"align": null
|
|
2977
|
-
}, "
|
|
2992
|
+
}, "when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main)")), (0, _react2.mdx)("tr", {
|
|
2978
2993
|
parentName: "tbody"
|
|
2979
2994
|
}, (0, _react2.mdx)("td", {
|
|
2980
2995
|
parentName: "tr",
|
|
@@ -3013,7 +3028,20 @@ function MDXContent(_ref) {
|
|
|
3013
3028
|
}), (0, _react2.mdx)("td", {
|
|
3014
3029
|
parentName: "tr",
|
|
3015
3030
|
"align": null
|
|
3016
|
-
}, "do not write any file, just create .bitmap entries of the imported components"))
|
|
3031
|
+
}, "do not write any file, just create .bitmap entries of the imported components")), (0, _react2.mdx)("tr", {
|
|
3032
|
+
parentName: "tbody"
|
|
3033
|
+
}, (0, _react2.mdx)("td", {
|
|
3034
|
+
parentName: "tr",
|
|
3035
|
+
"align": null
|
|
3036
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3037
|
+
parentName: "td"
|
|
3038
|
+
}, "--include-deprecated")), (0, _react2.mdx)("td", {
|
|
3039
|
+
parentName: "tr",
|
|
3040
|
+
"align": "center"
|
|
3041
|
+
}), (0, _react2.mdx)("td", {
|
|
3042
|
+
parentName: "tr",
|
|
3043
|
+
"align": null
|
|
3044
|
+
}, "when importing with patterns, include deprecated components (default to exclude them)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "init"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3017
3045
|
parentName: "p"
|
|
3018
3046
|
}, "Description"), ": create or reinitialize an empty workspace", (0, _react2.mdx)("br", {
|
|
3019
3047
|
parentName: "p"
|
|
@@ -3646,7 +3674,7 @@ function MDXContent(_ref) {
|
|
|
3646
3674
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
3647
3675
|
parentName: "tr",
|
|
3648
3676
|
"align": null
|
|
3649
|
-
}, "
|
|
3677
|
+
}, "switch only the specified component-pattern. works only when the workspace is empty")), (0, _react2.mdx)("tr", {
|
|
3650
3678
|
parentName: "tbody"
|
|
3651
3679
|
}, (0, _react2.mdx)("td", {
|
|
3652
3680
|
parentName: "tr",
|
|
@@ -3932,7 +3960,7 @@ function MDXContent(_ref) {
|
|
|
3932
3960
|
}), (0, _react2.mdx)("td", {
|
|
3933
3961
|
parentName: "tr",
|
|
3934
3962
|
"align": null
|
|
3935
|
-
}, "
|
|
3963
|
+
}, "show lane-diff for the specified component-pattern only")))), (0, _react2.mdx)("h3", null, "lane add-readme"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3936
3964
|
parentName: "p"
|
|
3937
3965
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
3938
3966
|
parentName: "p"
|
|
@@ -4001,7 +4029,7 @@ function MDXContent(_ref) {
|
|
|
4001
4029
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
4002
4030
|
parentName: "tr",
|
|
4003
4031
|
"align": null
|
|
4004
|
-
}, "
|
|
4032
|
+
}, "switch only the specified component-pattern. works only when the workspace is empty")))), (0, _react2.mdx)("h3", null, "lane remove-comp"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4005
4033
|
parentName: "p"
|
|
4006
4034
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4007
4035
|
parentName: "p"
|
|
@@ -4303,7 +4331,7 @@ function MDXContent(_ref) {
|
|
|
4303
4331
|
}), (0, _react2.mdx)("td", {
|
|
4304
4332
|
parentName: "tr",
|
|
4305
4333
|
"align": null
|
|
4306
|
-
}, "
|
|
4334
|
+
}, "relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the given components")), (0, _react2.mdx)("tr", {
|
|
4307
4335
|
parentName: "tbody"
|
|
4308
4336
|
}, (0, _react2.mdx)("td", {
|
|
4309
4337
|
parentName: "tr",
|
|
@@ -4316,7 +4344,7 @@ function MDXContent(_ref) {
|
|
|
4316
4344
|
}), (0, _react2.mdx)("td", {
|
|
4317
4345
|
parentName: "tr",
|
|
4318
4346
|
"align": null
|
|
4319
|
-
}, "
|
|
4347
|
+
}, "relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\"")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4320
4348
|
parentName: "table"
|
|
4321
4349
|
}, (0, _react2.mdx)("tr", {
|
|
4322
4350
|
parentName: "thead"
|
|
@@ -4489,7 +4517,7 @@ function MDXContent(_ref) {
|
|
|
4489
4517
|
}), (0, _react2.mdx)("td", {
|
|
4490
4518
|
parentName: "tr",
|
|
4491
4519
|
"align": null
|
|
4492
|
-
}, "
|
|
4520
|
+
}, "link to an external directory (similar to npm-link) so other projects could use these components")), (0, _react2.mdx)("tr", {
|
|
4493
4521
|
parentName: "tbody"
|
|
4494
4522
|
}, (0, _react2.mdx)("td", {
|
|
4495
4523
|
parentName: "tr",
|
|
@@ -4749,7 +4777,7 @@ function MDXContent(_ref) {
|
|
|
4749
4777
|
}), (0, _react2.mdx)("td", {
|
|
4750
4778
|
parentName: "tr",
|
|
4751
4779
|
"align": null
|
|
4752
|
-
}, "
|
|
4780
|
+
}, "show parents and lanes data")), (0, _react2.mdx)("tr", {
|
|
4753
4781
|
parentName: "tbody"
|
|
4754
4782
|
}, (0, _react2.mdx)("td", {
|
|
4755
4783
|
parentName: "tr",
|
|
@@ -5018,7 +5046,7 @@ function MDXContent(_ref) {
|
|
|
5018
5046
|
}), (0, _react2.mdx)("td", {
|
|
5019
5047
|
parentName: "tr",
|
|
5020
5048
|
"align": null
|
|
5021
|
-
}, "
|
|
5049
|
+
}, "in case of an unresolved merge, revert to the state before the merge began")), (0, _react2.mdx)("tr", {
|
|
5022
5050
|
parentName: "tbody"
|
|
5023
5051
|
}, (0, _react2.mdx)("td", {
|
|
5024
5052
|
parentName: "tr",
|
|
@@ -5031,7 +5059,7 @@ function MDXContent(_ref) {
|
|
|
5031
5059
|
}), (0, _react2.mdx)("td", {
|
|
5032
5060
|
parentName: "tr",
|
|
5033
5061
|
"align": null
|
|
5034
|
-
}, "
|
|
5062
|
+
}, "mark an unresolved merge as resolved and create a new snap with the changes")), (0, _react2.mdx)("tr", {
|
|
5035
5063
|
parentName: "tbody"
|
|
5036
5064
|
}, (0, _react2.mdx)("td", {
|
|
5037
5065
|
parentName: "tr",
|
|
@@ -5044,7 +5072,7 @@ function MDXContent(_ref) {
|
|
|
5044
5072
|
}), (0, _react2.mdx)("td", {
|
|
5045
5073
|
parentName: "tr",
|
|
5046
5074
|
"align": null
|
|
5047
|
-
}, "
|
|
5075
|
+
}, "do not auto snap in case the merge completed without conflicts")), (0, _react2.mdx)("tr", {
|
|
5048
5076
|
parentName: "tbody"
|
|
5049
5077
|
}, (0, _react2.mdx)("td", {
|
|
5050
5078
|
parentName: "tr",
|
|
@@ -5100,7 +5128,7 @@ function MDXContent(_ref) {
|
|
|
5100
5128
|
}, "-m")), (0, _react2.mdx)("td", {
|
|
5101
5129
|
parentName: "tr",
|
|
5102
5130
|
"align": null
|
|
5103
|
-
}, "
|
|
5131
|
+
}, "override the default message for the auto snap")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "mini-status"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5104
5132
|
parentName: "p"
|
|
5105
5133
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5106
5134
|
parentName: "p"
|
|
@@ -5108,7 +5136,7 @@ function MDXContent(_ref) {
|
|
|
5108
5136
|
parentName: "p"
|
|
5109
5137
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
5110
5138
|
parentName: "p"
|
|
5111
|
-
}, "Description"), ": basic status for fast execution", (0, _react2.mdx)("br", {
|
|
5139
|
+
}, "Description"), ": EXPERIMENTAL. basic status for fast execution", (0, _react2.mdx)("br", {
|
|
5112
5140
|
parentName: "p"
|
|
5113
5141
|
}), "\n", "shows only modified/new components. for the full status, use \"bit status\".", (0, _react2.mdx)("br", {
|
|
5114
5142
|
parentName: "p"
|
|
@@ -5373,7 +5401,7 @@ function MDXContent(_ref) {
|
|
|
5373
5401
|
"align": null
|
|
5374
5402
|
}, "do not install packages in case of importing components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "refactor"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5375
5403
|
parentName: "p"
|
|
5376
|
-
}, "Description"), ":
|
|
5404
|
+
}, "Description"), ": source code refactoring / codemod"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5377
5405
|
parentName: "p"
|
|
5378
5406
|
}, "bit refactor <sub-command>")), (0, _react2.mdx)("h3", null, "refactor dependency-name"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5379
5407
|
parentName: "p"
|
|
@@ -5641,7 +5669,7 @@ function MDXContent(_ref) {
|
|
|
5641
5669
|
"align": null
|
|
5642
5670
|
}, "skip confirmation")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5643
5671
|
parentName: "p"
|
|
5644
|
-
}, "Description"), ":
|
|
5672
|
+
}, "Description"), ": rename component. if tagged/exported, create a new component and deprecate the original component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5645
5673
|
parentName: "p"
|
|
5646
5674
|
}, "bit rename <current-name> <new-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5647
5675
|
parentName: "table"
|
|
@@ -5970,7 +5998,7 @@ function MDXContent(_ref) {
|
|
|
5970
5998
|
"align": null
|
|
5971
5999
|
}, "return the component data in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5972
6000
|
parentName: "p"
|
|
5973
|
-
}, "Description"), ":
|
|
6001
|
+
}, "Description"), ": manage the scope-name for components"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5974
6002
|
parentName: "p"
|
|
5975
6003
|
}, "bit scope <sub-command>")), (0, _react2.mdx)("h3", null, "scope set"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5976
6004
|
parentName: "p"
|
|
@@ -6239,7 +6267,7 @@ function MDXContent(_ref) {
|
|
|
6239
6267
|
"align": null
|
|
6240
6268
|
}, "compare current file system component to the latest tagged component ", "[default=latest]", ". only works in legacy.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "snap"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6241
6269
|
parentName: "p"
|
|
6242
|
-
}, "Description"), ":
|
|
6270
|
+
}, "Description"), ": create an immutable and exportable component snapshot (no release version)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6243
6271
|
parentName: "p"
|
|
6244
6272
|
}, "bit snap [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6245
6273
|
parentName: "table"
|
|
@@ -6303,7 +6331,7 @@ function MDXContent(_ref) {
|
|
|
6303
6331
|
}), (0, _react2.mdx)("td", {
|
|
6304
6332
|
parentName: "tr",
|
|
6305
6333
|
"align": null
|
|
6306
|
-
}, "
|
|
6334
|
+
}, "complete a merge process by snapping the unmerged components")), (0, _react2.mdx)("tr", {
|
|
6307
6335
|
parentName: "tbody"
|
|
6308
6336
|
}, (0, _react2.mdx)("td", {
|
|
6309
6337
|
parentName: "tr",
|
|
@@ -6318,7 +6346,7 @@ function MDXContent(_ref) {
|
|
|
6318
6346
|
}, "-b")), (0, _react2.mdx)("td", {
|
|
6319
6347
|
parentName: "tr",
|
|
6320
6348
|
"align": null
|
|
6321
|
-
}, "
|
|
6349
|
+
}, "not needed for now. run the build pipeline in case the feature-flag build-on-ci is enabled")), (0, _react2.mdx)("tr", {
|
|
6322
6350
|
parentName: "tbody"
|
|
6323
6351
|
}, (0, _react2.mdx)("td", {
|
|
6324
6352
|
parentName: "tr",
|
|
@@ -6331,7 +6359,7 @@ function MDXContent(_ref) {
|
|
|
6331
6359
|
}), (0, _react2.mdx)("td", {
|
|
6332
6360
|
parentName: "tr",
|
|
6333
6361
|
"align": null
|
|
6334
|
-
}, "
|
|
6362
|
+
}, "open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim).")), (0, _react2.mdx)("tr", {
|
|
6335
6363
|
parentName: "tbody"
|
|
6336
6364
|
}, (0, _react2.mdx)("td", {
|
|
6337
6365
|
parentName: "tr",
|
|
@@ -6766,7 +6794,7 @@ function MDXContent(_ref) {
|
|
|
6766
6794
|
}), (0, _react2.mdx)("td", {
|
|
6767
6795
|
parentName: "tr",
|
|
6768
6796
|
"align": null
|
|
6769
|
-
}, "
|
|
6797
|
+
}, "open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim).")), (0, _react2.mdx)("tr", {
|
|
6770
6798
|
parentName: "tbody"
|
|
6771
6799
|
}, (0, _react2.mdx)("td", {
|
|
6772
6800
|
parentName: "tr",
|
|
@@ -6878,7 +6906,7 @@ function MDXContent(_ref) {
|
|
|
6878
6906
|
}), (0, _react2.mdx)("td", {
|
|
6879
6907
|
parentName: "tr",
|
|
6880
6908
|
"align": null
|
|
6881
|
-
}, "
|
|
6909
|
+
}, "tag components that their head is a snap (not a tag)")), (0, _react2.mdx)("tr", {
|
|
6882
6910
|
parentName: "tbody"
|
|
6883
6911
|
}, (0, _react2.mdx)("td", {
|
|
6884
6912
|
parentName: "tr",
|
|
@@ -6891,7 +6919,7 @@ function MDXContent(_ref) {
|
|
|
6891
6919
|
}), (0, _react2.mdx)("td", {
|
|
6892
6920
|
parentName: "tr",
|
|
6893
6921
|
"align": null
|
|
6894
|
-
}, "
|
|
6922
|
+
}, "complete a merge process by tagging the unmerged components")), (0, _react2.mdx)("tr", {
|
|
6895
6923
|
parentName: "tbody"
|
|
6896
6924
|
}, (0, _react2.mdx)("td", {
|
|
6897
6925
|
parentName: "tr",
|
|
@@ -7040,7 +7068,7 @@ function MDXContent(_ref) {
|
|
|
7040
7068
|
}, "-b")), (0, _react2.mdx)("td", {
|
|
7041
7069
|
parentName: "tr",
|
|
7042
7070
|
"align": null
|
|
7043
|
-
}, "
|
|
7071
|
+
}, "not needed for now. run the pipeline build and complete the tag")), (0, _react2.mdx)("tr", {
|
|
7044
7072
|
parentName: "tbody"
|
|
7045
7073
|
}, (0, _react2.mdx)("td", {
|
|
7046
7074
|
parentName: "tr",
|