@teambit/harmony.content.cli-reference 1.95.23 → 1.95.24

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.mdx CHANGED
@@ -1002,9 +1002,12 @@ alternatively, exporting to any one of the failed scopes, throws server-is-busy
1002
1002
  ## schema
1003
1003
 
1004
1004
  **Workspace only**: yes
1005
- **Description**: shows the API schema of a certain component.
1005
+ **Description**: shows the API schema of a certain component.
1006
+ you can use a `<pattern>` for multiple component ids, such as `bit schema "org.scope/utils/**"`. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button"
1007
+ always wrap the pattern with quotes to avoid collision with shell commands.
1008
+ to validate the pattern before running this command, run `bit pattern <pattern>`.
1006
1009
 
1007
- `bit schema <id>`
1010
+ `bit schema <pattern>`
1008
1011
 
1009
1012
  | **Option** | **Option alias** | **Description** |
1010
1013
  | ---------- | :--------------: | ---------------------------------------- |
@@ -4531,9 +4531,21 @@ function MDXContent(_ref) {
4531
4531
  parentName: "p"
4532
4532
  }), "\n", (0, _react2.mdx)("strong", {
4533
4533
  parentName: "p"
4534
- }, "Description"), ": shows the API schema of a certain component."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
4534
+ }, "Description"), ": shows the API schema of a certain component.", (0, _react2.mdx)("br", {
4535
4535
  parentName: "p"
4536
- }, "bit schema <id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
4536
+ }), "\n", "you can use a ", (0, _react2.mdx)("inlineCode", {
4537
+ parentName: "p"
4538
+ }, "<pattern>"), " for multiple component ids, such as ", (0, _react2.mdx)("inlineCode", {
4539
+ parentName: "p"
4540
+ }, "bit schema \"org.scope/utils/**\""), ". use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\"", (0, _react2.mdx)("br", {
4541
+ parentName: "p"
4542
+ }), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
4543
+ parentName: "p"
4544
+ }), "\n", "to validate the pattern before running this command, run ", (0, _react2.mdx)("inlineCode", {
4545
+ parentName: "p"
4546
+ }, "bit pattern <pattern>"), "."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
4547
+ parentName: "p"
4548
+ }, "bit schema <pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
4537
4549
  parentName: "table"
4538
4550
  }, (0, _react2.mdx)("tr", {
4539
4551
  parentName: "thead"