@teambit/harmony.content.cli-reference 2.0.667 → 2.0.669
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 +15 -0
- package/cli-reference.mdx +2 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +15 -0
- package/dist/cli-reference.mdx.js +28 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1751627468907.js → preview-1751944822939.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -3978,6 +3978,11 @@
|
|
|
3978
3978
|
"j",
|
|
3979
3979
|
"json",
|
|
3980
3980
|
"return the output as JSON"
|
|
3981
|
+
],
|
|
3982
|
+
[
|
|
3983
|
+
"",
|
|
3984
|
+
"branch",
|
|
3985
|
+
"create and checkout a new git branch named after the lane"
|
|
3981
3986
|
]
|
|
3982
3987
|
],
|
|
3983
3988
|
"description": "switch to the specified lane",
|
|
@@ -4169,6 +4174,11 @@
|
|
|
4169
4174
|
"p",
|
|
4170
4175
|
"pattern <component-pattern>",
|
|
4171
4176
|
"import only components from the lane that fit the specified component-pattern to the workspace. works only when the workspace is empty"
|
|
4177
|
+
],
|
|
4178
|
+
[
|
|
4179
|
+
"",
|
|
4180
|
+
"branch",
|
|
4181
|
+
"create and checkout a new git branch named after the lane"
|
|
4172
4182
|
]
|
|
4173
4183
|
],
|
|
4174
4184
|
"description": "import a remote lane to your workspace and switch to that lane",
|
|
@@ -4559,6 +4569,11 @@
|
|
|
4559
4569
|
"j",
|
|
4560
4570
|
"json",
|
|
4561
4571
|
"return the output as JSON"
|
|
4572
|
+
],
|
|
4573
|
+
[
|
|
4574
|
+
"",
|
|
4575
|
+
"branch",
|
|
4576
|
+
"create and checkout a new git branch named after the lane"
|
|
4562
4577
|
]
|
|
4563
4578
|
],
|
|
4564
4579
|
"description": "switch to the specified lane",
|
package/cli-reference.mdx
CHANGED
|
@@ -1114,6 +1114,7 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
1114
1114
|
| `--alias <string>` | `-n` | relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote |
|
|
1115
1115
|
| `--verbose` | | display detailed information about components that legitimately were not switched |
|
|
1116
1116
|
| `--json` | `-j` | return the output as JSON |
|
|
1117
|
+
| `--branch` | | create and checkout a new git branch named after the lane |
|
|
1117
1118
|
|
|
1118
1119
|
### lane show
|
|
1119
1120
|
|
|
@@ -1229,6 +1230,7 @@ bit lane diff from to => diff between "from" lane and "to" lane.
|
|
|
1229
1230
|
| -------------------------------- | :--------------: | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1230
1231
|
| `--skip-dependency-installation` | `-x` | do not install dependencies of the imported components |
|
|
1231
1232
|
| `--pattern <component-pattern>` | `-p` | import only components from the lane that fit the specified component-pattern to the workspace. works only when the workspace is empty |
|
|
1233
|
+
| `--branch` | | create and checkout a new git branch named after the lane |
|
|
1232
1234
|
|
|
1233
1235
|
### lane remove-comp
|
|
1234
1236
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -3978,6 +3978,11 @@
|
|
|
3978
3978
|
"j",
|
|
3979
3979
|
"json",
|
|
3980
3980
|
"return the output as JSON"
|
|
3981
|
+
],
|
|
3982
|
+
[
|
|
3983
|
+
"",
|
|
3984
|
+
"branch",
|
|
3985
|
+
"create and checkout a new git branch named after the lane"
|
|
3981
3986
|
]
|
|
3982
3987
|
],
|
|
3983
3988
|
"description": "switch to the specified lane",
|
|
@@ -4169,6 +4174,11 @@
|
|
|
4169
4174
|
"p",
|
|
4170
4175
|
"pattern <component-pattern>",
|
|
4171
4176
|
"import only components from the lane that fit the specified component-pattern to the workspace. works only when the workspace is empty"
|
|
4177
|
+
],
|
|
4178
|
+
[
|
|
4179
|
+
"",
|
|
4180
|
+
"branch",
|
|
4181
|
+
"create and checkout a new git branch named after the lane"
|
|
4172
4182
|
]
|
|
4173
4183
|
],
|
|
4174
4184
|
"description": "import a remote lane to your workspace and switch to that lane",
|
|
@@ -4559,6 +4569,11 @@
|
|
|
4559
4569
|
"j",
|
|
4560
4570
|
"json",
|
|
4561
4571
|
"return the output as JSON"
|
|
4572
|
+
],
|
|
4573
|
+
[
|
|
4574
|
+
"",
|
|
4575
|
+
"branch",
|
|
4576
|
+
"create and checkout a new git branch named after the lane"
|
|
4562
4577
|
]
|
|
4563
4578
|
],
|
|
4564
4579
|
"description": "switch to the specified lane",
|
|
@@ -6132,7 +6132,20 @@ function MDXContent(_ref) {
|
|
|
6132
6132
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
6133
6133
|
parentName: "tr",
|
|
6134
6134
|
"align": null
|
|
6135
|
-
}, "return the output as JSON"))
|
|
6135
|
+
}, "return the output as JSON")), (0, _react2.mdx)("tr", {
|
|
6136
|
+
parentName: "tbody"
|
|
6137
|
+
}, (0, _react2.mdx)("td", {
|
|
6138
|
+
parentName: "tr",
|
|
6139
|
+
"align": null
|
|
6140
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6141
|
+
parentName: "td"
|
|
6142
|
+
}, "--branch")), (0, _react2.mdx)("td", {
|
|
6143
|
+
parentName: "tr",
|
|
6144
|
+
"align": "center"
|
|
6145
|
+
}), (0, _react2.mdx)("td", {
|
|
6146
|
+
parentName: "tr",
|
|
6147
|
+
"align": null
|
|
6148
|
+
}, "create and checkout a new git branch named after the lane")))), (0, _react2.mdx)("h3", null, "lane show"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6136
6149
|
parentName: "p"
|
|
6137
6150
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6138
6151
|
parentName: "p"
|
|
@@ -6673,7 +6686,20 @@ function MDXContent(_ref) {
|
|
|
6673
6686
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
6674
6687
|
parentName: "tr",
|
|
6675
6688
|
"align": null
|
|
6676
|
-
}, "import only components from the lane that fit the specified component-pattern to the workspace. works only when the workspace is empty"))
|
|
6689
|
+
}, "import only components from the lane that fit the specified component-pattern to the workspace. works only when the workspace is empty")), (0, _react2.mdx)("tr", {
|
|
6690
|
+
parentName: "tbody"
|
|
6691
|
+
}, (0, _react2.mdx)("td", {
|
|
6692
|
+
parentName: "tr",
|
|
6693
|
+
"align": null
|
|
6694
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6695
|
+
parentName: "td"
|
|
6696
|
+
}, "--branch")), (0, _react2.mdx)("td", {
|
|
6697
|
+
parentName: "tr",
|
|
6698
|
+
"align": "center"
|
|
6699
|
+
}), (0, _react2.mdx)("td", {
|
|
6700
|
+
parentName: "tr",
|
|
6701
|
+
"align": null
|
|
6702
|
+
}, "create and checkout a new git branch named after the lane")))), (0, _react2.mdx)("h3", null, "lane remove-comp"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6677
6703
|
parentName: "p"
|
|
6678
6704
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6679
6705
|
parentName: "p"
|