@teambit/harmony.content.cli-reference 1.95.147 → 1.95.149

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.
@@ -878,7 +878,7 @@
878
878
  ]
879
879
  },
880
880
  {
881
- "name": "start [type] [pattern]",
881
+ "name": "start [component-pattern]",
882
882
  "alias": "c",
883
883
  "options": [
884
884
  [
@@ -907,7 +907,7 @@
907
907
  "show verbose output for inspection and prints stack trace"
908
908
  ],
909
909
  [
910
- "",
910
+ "n",
911
911
  "no-browser",
912
912
  "do not automatically open browser when ready"
913
913
  ],
@@ -915,12 +915,23 @@
915
915
  "",
916
916
  "skip-compilation",
917
917
  "skip the auto-compilation before starting the web-server"
918
+ ],
919
+ [
920
+ "u",
921
+ "ui-root-name [type]",
922
+ "name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\""
918
923
  ]
919
924
  ],
920
925
  "description": "run the ui/development server",
921
926
  "extendedDescription": "",
922
927
  "group": "development",
923
- "private": false
928
+ "private": false,
929
+ "arguments": [
930
+ {
931
+ "name": "component-pattern",
932
+ "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
933
+ }
934
+ ]
924
935
  },
925
936
  {
926
937
  "name": "ui-build [type]",
@@ -2672,7 +2683,7 @@
2672
2683
  ]
2673
2684
  ],
2674
2685
  "description": "merge changes of the remote head into local",
2675
- "extendedDescription": "merge changes of the remote head into local, optionally use '--abort' or '--resolve\nyou can use a pattern for multiple ids, such as bit merge \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
2686
+ "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
2687
  "group": "development",
2677
2688
  "private": false
2678
2689
  },
package/cli-reference.mdx CHANGED
@@ -1020,7 +1020,9 @@ https://bit.dev/docs/reference/cli-reference#list
1020
1020
  ## merge
1021
1021
 
1022
1022
  **Description**: merge changes of the remote head into local
1023
- merge changes of the remote head into local, optionally use '--abort' or '--resolve
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.
1024
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)
1025
1027
 
1026
1028
  `bit merge [ids...]`
@@ -1372,17 +1374,18 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
1372
1374
  **Alias**: `c`
1373
1375
  **Description**: run the ui/development server
1374
1376
 
1375
- `bit start [type] [pattern]`
1376
-
1377
- | **Option** | **Option alias** | **Description** |
1378
- | ---------------------- | :--------------: | --------------------------------------------------------- |
1379
- | `--dev` | `-d` | start UI server in dev mode. |
1380
- | `--port [port-number]` | `-p` | port of the UI server. |
1381
- | `--rebuild` | `-r` | rebuild the UI |
1382
- | `--skip-ui-build` | | skip building UI |
1383
- | `--verbose` | `-v` | show verbose output for inspection and prints stack trace |
1384
- | `--no-browser` | | do not automatically open browser when ready |
1385
- | `--skip-compilation` | | skip the auto-compilation before starting the web-server |
1377
+ `bit start [component-pattern]`
1378
+
1379
+ | **Option** | **Option alias** | **Description** |
1380
+ | ----------------------- | :--------------: | --------------------------------------------------------------------------------------- |
1381
+ | `--dev` | `-d` | start UI server in dev mode. |
1382
+ | `--port [port-number]` | `-p` | port of the UI server. |
1383
+ | `--rebuild` | `-r` | rebuild the UI |
1384
+ | `--skip-ui-build` | | skip building UI |
1385
+ | `--verbose` | `-v` | show verbose output for inspection and prints stack trace |
1386
+ | `--no-browser` | `-n` | do not automatically open browser when ready |
1387
+ | `--skip-compilation` | | skip the auto-compilation before starting the web-server |
1388
+ | `--ui-root-name [type]` | `-u` | name of the ui root to use, e.g. "teambit.scope/scope" or "teambit.workspace/workspace" |
1386
1389
 
1387
1390
  ---
1388
1391
 
@@ -878,7 +878,7 @@
878
878
  ]
879
879
  },
880
880
  {
881
- "name": "start [type] [pattern]",
881
+ "name": "start [component-pattern]",
882
882
  "alias": "c",
883
883
  "options": [
884
884
  [
@@ -907,7 +907,7 @@
907
907
  "show verbose output for inspection and prints stack trace"
908
908
  ],
909
909
  [
910
- "",
910
+ "n",
911
911
  "no-browser",
912
912
  "do not automatically open browser when ready"
913
913
  ],
@@ -915,12 +915,23 @@
915
915
  "",
916
916
  "skip-compilation",
917
917
  "skip the auto-compilation before starting the web-server"
918
+ ],
919
+ [
920
+ "u",
921
+ "ui-root-name [type]",
922
+ "name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\""
918
923
  ]
919
924
  ],
920
925
  "description": "run the ui/development server",
921
926
  "extendedDescription": "",
922
927
  "group": "development",
923
- "private": false
928
+ "private": false,
929
+ "arguments": [
930
+ {
931
+ "name": "component-pattern",
932
+ "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
933
+ }
934
+ ]
924
935
  },
925
936
  {
926
937
  "name": "ui-build [type]",
@@ -2672,7 +2683,7 @@
2672
2683
  ]
2673
2684
  ],
2674
2685
  "description": "merge changes of the remote head into local",
2675
- "extendedDescription": "merge changes of the remote head into local, optionally use '--abort' or '--resolve\nyou can use a pattern for multiple ids, such as bit merge \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
2686
+ "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
2687
  "group": "development",
2677
2688
  "private": false
2678
2689
  },
@@ -4799,7 +4799,11 @@ function MDXContent(_ref) {
4799
4799
  parentName: "p"
4800
4800
  }, "Description"), ": merge changes of the remote head into local", (0, _react2.mdx)("br", {
4801
4801
  parentName: "p"
4802
- }), "\n", "merge changes of the remote head into local, optionally use '--abort' or '--resolve", (0, _react2.mdx)("br", {
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", {
4803
4807
  parentName: "p"
4804
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", {
4805
4809
  parentName: "p"
@@ -6293,7 +6297,7 @@ function MDXContent(_ref) {
6293
6297
  parentName: "p"
6294
6298
  }, "Description"), ": run the ui/development server"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
6295
6299
  parentName: "p"
6296
- }, "bit start [type] [pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
6300
+ }, "bit start [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
6297
6301
  parentName: "table"
6298
6302
  }, (0, _react2.mdx)("tr", {
6299
6303
  parentName: "thead"
@@ -6397,7 +6401,9 @@ function MDXContent(_ref) {
6397
6401
  }, "--no-browser")), (0, _react2.mdx)("td", {
6398
6402
  parentName: "tr",
6399
6403
  "align": "center"
6400
- }), (0, _react2.mdx)("td", {
6404
+ }, (0, _react2.mdx)("inlineCode", {
6405
+ parentName: "td"
6406
+ }, "-n")), (0, _react2.mdx)("td", {
6401
6407
  parentName: "tr",
6402
6408
  "align": null
6403
6409
  }, "do not automatically open browser when ready")), (0, _react2.mdx)("tr", {
@@ -6413,7 +6419,22 @@ function MDXContent(_ref) {
6413
6419
  }), (0, _react2.mdx)("td", {
6414
6420
  parentName: "tr",
6415
6421
  "align": null
6416
- }, "skip the auto-compilation before starting the web-server")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "status"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
6422
+ }, "skip the auto-compilation before starting the web-server")), (0, _react2.mdx)("tr", {
6423
+ parentName: "tbody"
6424
+ }, (0, _react2.mdx)("td", {
6425
+ parentName: "tr",
6426
+ "align": null
6427
+ }, (0, _react2.mdx)("inlineCode", {
6428
+ parentName: "td"
6429
+ }, "--ui-root-name [type]")), (0, _react2.mdx)("td", {
6430
+ parentName: "tr",
6431
+ "align": "center"
6432
+ }, (0, _react2.mdx)("inlineCode", {
6433
+ parentName: "td"
6434
+ }, "-u")), (0, _react2.mdx)("td", {
6435
+ parentName: "tr",
6436
+ "align": null
6437
+ }, "name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\"")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "status"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
6417
6438
  parentName: "p"
6418
6439
  }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
6419
6440
  parentName: "p"