@teambit/harmony.content.cli-reference 1.95.146 → 1.95.148
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 +32 -5
- package/cli-reference.mdx +9 -5
- package/dist/cli-reference.json +32 -5
- package/dist/cli-reference.mdx.js +37 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1684208609693.js → preview-1684466926328.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.148.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.146.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -2672,7 +2672,7 @@
|
|
|
2672
2672
|
]
|
|
2673
2673
|
],
|
|
2674
2674
|
"description": "merge changes of the remote head into local",
|
|
2675
|
-
"extendedDescription": "merge changes of the remote head into local,
|
|
2675
|
+
"extendedDescription": "merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge/lane-merge.\nyou can use a pattern for multiple ids, such as bit merge \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2676
2676
|
"group": "development",
|
|
2677
2677
|
"private": false
|
|
2678
2678
|
},
|
|
@@ -2751,7 +2751,7 @@
|
|
|
2751
2751
|
"skipWorkspace": true
|
|
2752
2752
|
},
|
|
2753
2753
|
{
|
|
2754
|
-
"name": "switch <lane>",
|
|
2754
|
+
"name": "switch <lane> [pattern]",
|
|
2755
2755
|
"alias": "",
|
|
2756
2756
|
"options": [
|
|
2757
2757
|
[
|
|
@@ -2774,6 +2774,11 @@
|
|
|
2774
2774
|
"skip-dependency-installation",
|
|
2775
2775
|
"do not install packages of the imported components"
|
|
2776
2776
|
],
|
|
2777
|
+
[
|
|
2778
|
+
"p",
|
|
2779
|
+
"pattern <component-pattern>",
|
|
2780
|
+
"EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty"
|
|
2781
|
+
],
|
|
2777
2782
|
[
|
|
2778
2783
|
"j",
|
|
2779
2784
|
"json",
|
|
@@ -2783,7 +2788,13 @@
|
|
|
2783
2788
|
"description": "switch to the specified lane",
|
|
2784
2789
|
"extendedDescription": "",
|
|
2785
2790
|
"group": "ungrouped",
|
|
2786
|
-
"private": true
|
|
2791
|
+
"private": true,
|
|
2792
|
+
"arguments": [
|
|
2793
|
+
{
|
|
2794
|
+
"name": "lane",
|
|
2795
|
+
"description": "lane-name or lane-id (if not exists locally) to switch to"
|
|
2796
|
+
}
|
|
2797
|
+
]
|
|
2787
2798
|
},
|
|
2788
2799
|
{
|
|
2789
2800
|
"name": "show [lane-name]",
|
|
@@ -2951,6 +2962,11 @@
|
|
|
2951
2962
|
"x",
|
|
2952
2963
|
"skip-dependency-installation",
|
|
2953
2964
|
"do not install packages of the imported components"
|
|
2965
|
+
],
|
|
2966
|
+
[
|
|
2967
|
+
"p",
|
|
2968
|
+
"pattern <component-pattern>",
|
|
2969
|
+
"EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty"
|
|
2954
2970
|
]
|
|
2955
2971
|
],
|
|
2956
2972
|
"description": "import a remote lane to your workspace",
|
|
@@ -3067,7 +3083,7 @@
|
|
|
3067
3083
|
]
|
|
3068
3084
|
},
|
|
3069
3085
|
{
|
|
3070
|
-
"name": "switch <lane>",
|
|
3086
|
+
"name": "switch <lane> [pattern]",
|
|
3071
3087
|
"alias": "",
|
|
3072
3088
|
"options": [
|
|
3073
3089
|
[
|
|
@@ -3090,6 +3106,11 @@
|
|
|
3090
3106
|
"skip-dependency-installation",
|
|
3091
3107
|
"do not install packages of the imported components"
|
|
3092
3108
|
],
|
|
3109
|
+
[
|
|
3110
|
+
"p",
|
|
3111
|
+
"pattern <component-pattern>",
|
|
3112
|
+
"EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty"
|
|
3113
|
+
],
|
|
3093
3114
|
[
|
|
3094
3115
|
"j",
|
|
3095
3116
|
"json",
|
|
@@ -3099,7 +3120,13 @@
|
|
|
3099
3120
|
"description": "switch to the specified lane",
|
|
3100
3121
|
"extendedDescription": "",
|
|
3101
3122
|
"group": "ungrouped",
|
|
3102
|
-
"private": true
|
|
3123
|
+
"private": true,
|
|
3124
|
+
"arguments": [
|
|
3125
|
+
{
|
|
3126
|
+
"name": "lane",
|
|
3127
|
+
"description": "lane-name or lane-id (if not exists locally) to switch to"
|
|
3128
|
+
}
|
|
3129
|
+
]
|
|
3103
3130
|
},
|
|
3104
3131
|
{
|
|
3105
3132
|
"name": "_merge-lane <from-lane> [to-lane]",
|
package/cli-reference.mdx
CHANGED
|
@@ -770,7 +770,7 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
770
770
|
|
|
771
771
|
### lane switch
|
|
772
772
|
|
|
773
|
-
**Usage**: `lane switch <lane
|
|
773
|
+
**Usage**: `lane switch <lane> [pattern]`
|
|
774
774
|
|
|
775
775
|
**Description**: switch to the specified lane
|
|
776
776
|
|
|
@@ -780,6 +780,7 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
780
780
|
| `--merge [strategy]` | `-m` | merge local changes with the checked out version. strategy should be "theirs", "ours" or "manual" |
|
|
781
781
|
| `--get-all` | `-a` | checkout all components in a lane include ones that do not exist in the workspace |
|
|
782
782
|
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
783
|
+
| `--pattern <component-pattern>` | `-p` | EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty |
|
|
783
784
|
| `--json` | `-j` | return the output as JSON |
|
|
784
785
|
|
|
785
786
|
### lane show
|
|
@@ -870,9 +871,10 @@ bit lane diff from to => diff between "from" lane and "to" lane.
|
|
|
870
871
|
|
|
871
872
|
**Description**: import a remote lane to your workspace
|
|
872
873
|
|
|
873
|
-
| **Option** | **Option alias** | **Description**
|
|
874
|
-
| -------------------------------- | :--------------: |
|
|
875
|
-
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components
|
|
874
|
+
| **Option** | **Option alias** | **Description** |
|
|
875
|
+
| -------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------- |
|
|
876
|
+
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
877
|
+
| `--pattern <component-pattern>` | `-p` | EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty |
|
|
876
878
|
|
|
877
879
|
### lane merge
|
|
878
880
|
|
|
@@ -1018,7 +1020,9 @@ https://bit.dev/docs/reference/cli-reference#list
|
|
|
1018
1020
|
## merge
|
|
1019
1021
|
|
|
1020
1022
|
**Description**: merge changes of the remote head into local
|
|
1021
|
-
merge changes of the remote head into local,
|
|
1023
|
+
merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.
|
|
1024
|
+
if no ids are specified, all pending-merge components will be merged. (run "bit status" to list them).
|
|
1025
|
+
optionally use '--abort' to revert the last merge/lane-merge.
|
|
1022
1026
|
you can use a pattern for multiple ids, such as bit merge "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
1023
1027
|
|
|
1024
1028
|
`bit merge [ids...]`
|
package/dist/cli-reference.json
CHANGED
|
@@ -2672,7 +2672,7 @@
|
|
|
2672
2672
|
]
|
|
2673
2673
|
],
|
|
2674
2674
|
"description": "merge changes of the remote head into local",
|
|
2675
|
-
"extendedDescription": "merge changes of the remote head into local,
|
|
2675
|
+
"extendedDescription": "merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge/lane-merge.\nyou can use a pattern for multiple ids, such as bit merge \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2676
2676
|
"group": "development",
|
|
2677
2677
|
"private": false
|
|
2678
2678
|
},
|
|
@@ -2751,7 +2751,7 @@
|
|
|
2751
2751
|
"skipWorkspace": true
|
|
2752
2752
|
},
|
|
2753
2753
|
{
|
|
2754
|
-
"name": "switch <lane>",
|
|
2754
|
+
"name": "switch <lane> [pattern]",
|
|
2755
2755
|
"alias": "",
|
|
2756
2756
|
"options": [
|
|
2757
2757
|
[
|
|
@@ -2774,6 +2774,11 @@
|
|
|
2774
2774
|
"skip-dependency-installation",
|
|
2775
2775
|
"do not install packages of the imported components"
|
|
2776
2776
|
],
|
|
2777
|
+
[
|
|
2778
|
+
"p",
|
|
2779
|
+
"pattern <component-pattern>",
|
|
2780
|
+
"EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty"
|
|
2781
|
+
],
|
|
2777
2782
|
[
|
|
2778
2783
|
"j",
|
|
2779
2784
|
"json",
|
|
@@ -2783,7 +2788,13 @@
|
|
|
2783
2788
|
"description": "switch to the specified lane",
|
|
2784
2789
|
"extendedDescription": "",
|
|
2785
2790
|
"group": "ungrouped",
|
|
2786
|
-
"private": true
|
|
2791
|
+
"private": true,
|
|
2792
|
+
"arguments": [
|
|
2793
|
+
{
|
|
2794
|
+
"name": "lane",
|
|
2795
|
+
"description": "lane-name or lane-id (if not exists locally) to switch to"
|
|
2796
|
+
}
|
|
2797
|
+
]
|
|
2787
2798
|
},
|
|
2788
2799
|
{
|
|
2789
2800
|
"name": "show [lane-name]",
|
|
@@ -2951,6 +2962,11 @@
|
|
|
2951
2962
|
"x",
|
|
2952
2963
|
"skip-dependency-installation",
|
|
2953
2964
|
"do not install packages of the imported components"
|
|
2965
|
+
],
|
|
2966
|
+
[
|
|
2967
|
+
"p",
|
|
2968
|
+
"pattern <component-pattern>",
|
|
2969
|
+
"EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty"
|
|
2954
2970
|
]
|
|
2955
2971
|
],
|
|
2956
2972
|
"description": "import a remote lane to your workspace",
|
|
@@ -3067,7 +3083,7 @@
|
|
|
3067
3083
|
]
|
|
3068
3084
|
},
|
|
3069
3085
|
{
|
|
3070
|
-
"name": "switch <lane>",
|
|
3086
|
+
"name": "switch <lane> [pattern]",
|
|
3071
3087
|
"alias": "",
|
|
3072
3088
|
"options": [
|
|
3073
3089
|
[
|
|
@@ -3090,6 +3106,11 @@
|
|
|
3090
3106
|
"skip-dependency-installation",
|
|
3091
3107
|
"do not install packages of the imported components"
|
|
3092
3108
|
],
|
|
3109
|
+
[
|
|
3110
|
+
"p",
|
|
3111
|
+
"pattern <component-pattern>",
|
|
3112
|
+
"EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty"
|
|
3113
|
+
],
|
|
3093
3114
|
[
|
|
3094
3115
|
"j",
|
|
3095
3116
|
"json",
|
|
@@ -3099,7 +3120,13 @@
|
|
|
3099
3120
|
"description": "switch to the specified lane",
|
|
3100
3121
|
"extendedDescription": "",
|
|
3101
3122
|
"group": "ungrouped",
|
|
3102
|
-
"private": true
|
|
3123
|
+
"private": true,
|
|
3124
|
+
"arguments": [
|
|
3125
|
+
{
|
|
3126
|
+
"name": "lane",
|
|
3127
|
+
"description": "lane-name or lane-id (if not exists locally) to switch to"
|
|
3128
|
+
}
|
|
3129
|
+
]
|
|
3103
3130
|
},
|
|
3104
3131
|
{
|
|
3105
3132
|
"name": "_merge-lane <from-lane> [to-lane]",
|
|
@@ -3480,7 +3480,7 @@ function MDXContent(_ref) {
|
|
|
3480
3480
|
parentName: "p"
|
|
3481
3481
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
3482
3482
|
parentName: "p"
|
|
3483
|
-
}, "lane switch <lane>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3483
|
+
}, "lane switch <lane> [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3484
3484
|
parentName: "p"
|
|
3485
3485
|
}, "Description"), ": switch to the specified lane"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3486
3486
|
parentName: "table"
|
|
@@ -3570,6 +3570,21 @@ function MDXContent(_ref) {
|
|
|
3570
3570
|
"align": null
|
|
3571
3571
|
}, (0, _react2.mdx)("inlineCode", {
|
|
3572
3572
|
parentName: "td"
|
|
3573
|
+
}, "--pattern <component-pattern>")), (0, _react2.mdx)("td", {
|
|
3574
|
+
parentName: "tr",
|
|
3575
|
+
"align": "center"
|
|
3576
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3577
|
+
parentName: "td"
|
|
3578
|
+
}, "-p")), (0, _react2.mdx)("td", {
|
|
3579
|
+
parentName: "tr",
|
|
3580
|
+
"align": null
|
|
3581
|
+
}, "EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty")), (0, _react2.mdx)("tr", {
|
|
3582
|
+
parentName: "tbody"
|
|
3583
|
+
}, (0, _react2.mdx)("td", {
|
|
3584
|
+
parentName: "tr",
|
|
3585
|
+
"align": null
|
|
3586
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3587
|
+
parentName: "td"
|
|
3573
3588
|
}, "--json")), (0, _react2.mdx)("td", {
|
|
3574
3589
|
parentName: "tr",
|
|
3575
3590
|
"align": "center"
|
|
@@ -3903,7 +3918,22 @@ function MDXContent(_ref) {
|
|
|
3903
3918
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
3904
3919
|
parentName: "tr",
|
|
3905
3920
|
"align": null
|
|
3906
|
-
}, "do not install packages of the imported components"))
|
|
3921
|
+
}, "do not install packages of the imported components")), (0, _react2.mdx)("tr", {
|
|
3922
|
+
parentName: "tbody"
|
|
3923
|
+
}, (0, _react2.mdx)("td", {
|
|
3924
|
+
parentName: "tr",
|
|
3925
|
+
"align": null
|
|
3926
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3927
|
+
parentName: "td"
|
|
3928
|
+
}, "--pattern <component-pattern>")), (0, _react2.mdx)("td", {
|
|
3929
|
+
parentName: "tr",
|
|
3930
|
+
"align": "center"
|
|
3931
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3932
|
+
parentName: "td"
|
|
3933
|
+
}, "-p")), (0, _react2.mdx)("td", {
|
|
3934
|
+
parentName: "tr",
|
|
3935
|
+
"align": null
|
|
3936
|
+
}, "EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty")))), (0, _react2.mdx)("h3", null, "lane merge"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3907
3937
|
parentName: "p"
|
|
3908
3938
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
3909
3939
|
parentName: "p"
|
|
@@ -4769,7 +4799,11 @@ function MDXContent(_ref) {
|
|
|
4769
4799
|
parentName: "p"
|
|
4770
4800
|
}, "Description"), ": merge changes of the remote head into local", (0, _react2.mdx)("br", {
|
|
4771
4801
|
parentName: "p"
|
|
4772
|
-
}), "\n", "merge changes of the remote head into local,
|
|
4802
|
+
}), "\n", "merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.", (0, _react2.mdx)("br", {
|
|
4803
|
+
parentName: "p"
|
|
4804
|
+
}), "\n", "if no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).", (0, _react2.mdx)("br", {
|
|
4805
|
+
parentName: "p"
|
|
4806
|
+
}), "\n", "optionally use '--abort' to revert the last merge/lane-merge.", (0, _react2.mdx)("br", {
|
|
4773
4807
|
parentName: "p"
|
|
4774
4808
|
}), "\n", "you can use a pattern for multiple ids, such as bit merge \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4775
4809
|
parentName: "p"
|