@teambit/harmony.content.cli-reference 2.0.636 → 2.0.638

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.
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.10.9'
2
+ description: 'Bit command synopses. Bit version: 1.11.0'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -4878,14 +4878,19 @@
4878
4878
  "name": "schema <pattern>",
4879
4879
  "alias": "",
4880
4880
  "options": [
4881
+ [
4882
+ "r",
4883
+ "remote",
4884
+ "fetch schema from remote scope (works for components not in workspace)"
4885
+ ],
4881
4886
  [
4882
4887
  "j",
4883
4888
  "json",
4884
4889
  "return the component schema in json format"
4885
4890
  ]
4886
4891
  ],
4887
- "description": "shows the API schema of the specified component/s.",
4888
- "extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
4892
+ "description": "extracts and displays the API schema (types, functions, classes, interfaces) of the specified component/s.",
4893
+ "extendedDescription": "Extracts TypeScript definitions to provide a comprehensive view of a component's public API.\nShows detailed information about exported elements including classes, interfaces, functions, types, and enums with their respective signatures and documentation.\n\nyou can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
4889
4894
  "group": "development",
4890
4895
  "private": false
4891
4896
  },
package/cli-reference.mdx CHANGED
@@ -1900,7 +1900,10 @@ https://bit.dev/components/tags#undoing-a-tag
1900
1900
 
1901
1901
  ## schema
1902
1902
 
1903
- **Description**: shows the API schema of the specified component/s.
1903
+ **Description**: extracts and displays the API schema (types, functions, classes, interfaces) of the specified component/s.
1904
+ Extracts TypeScript definitions to provide a comprehensive view of a component's public API.
1905
+ Shows detailed information about exported elements including classes, interfaces, functions, types, and enums with their respective signatures and documentation.
1906
+
1904
1907
  you can use a `<pattern>` for multiple component ids, such as `bit schema "org.scope/utils/**"`.
1905
1908
  use comma to separate patterns and '!' to exclude. e.g. 'ui/\*\*, !ui/button'
1906
1909
  use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.
@@ -1909,9 +1912,10 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
1909
1912
 
1910
1913
  `bit schema <pattern>`
1911
1914
 
1912
- | **Option** | **Option alias** | **Description** |
1913
- | ---------- | :--------------: | ------------------------------------------ |
1914
- | `--json` | `-j` | return the component schema in json format |
1915
+ | **Option** | **Option alias** | **Description** |
1916
+ | ---------- | :--------------: | ---------------------------------------------------------------------- |
1917
+ | `--remote` | `-r` | fetch schema from remote scope (works for components not in workspace) |
1918
+ | `--json` | `-j` | return the component schema in json format |
1915
1919
 
1916
1920
  ---
1917
1921
 
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.10.9'
2
+ description: 'Bit command synopses. Bit version: 1.11.0'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -4878,14 +4878,19 @@
4878
4878
  "name": "schema <pattern>",
4879
4879
  "alias": "",
4880
4880
  "options": [
4881
+ [
4882
+ "r",
4883
+ "remote",
4884
+ "fetch schema from remote scope (works for components not in workspace)"
4885
+ ],
4881
4886
  [
4882
4887
  "j",
4883
4888
  "json",
4884
4889
  "return the component schema in json format"
4885
4890
  ]
4886
4891
  ],
4887
- "description": "shows the API schema of the specified component/s.",
4888
- "extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
4892
+ "description": "extracts and displays the API schema (types, functions, classes, interfaces) of the specified component/s.",
4893
+ "extendedDescription": "Extracts TypeScript definitions to provide a comprehensive view of a component's public API.\nShows detailed information about exported elements including classes, interfaces, functions, types, and enums with their respective signatures and documentation.\n\nyou can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
4889
4894
  "group": "development",
4890
4895
  "private": false
4891
4896
  },
@@ -10097,9 +10097,11 @@ function MDXContent(_ref) {
10097
10097
  "align": null
10098
10098
  }, "the arguments passing to the app. for example, --args=\"--a=1 --b\". don't forget to use quotes to wrap the value to escape special characters.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "schema"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10099
10099
  parentName: "p"
10100
- }, "Description"), ": shows the API schema of the specified component/s.", (0, _react2.mdx)("br", {
10100
+ }, "Description"), ": extracts and displays the API schema (types, functions, classes, interfaces) of the specified component/s.", (0, _react2.mdx)("br", {
10101
10101
  parentName: "p"
10102
- }), "\n", "you can use a ", (0, _react2.mdx)("inlineCode", {
10102
+ }), "\n", "Extracts TypeScript definitions to provide a comprehensive view of a component's public API.", (0, _react2.mdx)("br", {
10103
+ parentName: "p"
10104
+ }), "\n", "Shows detailed information about exported elements including classes, interfaces, functions, types, and enums with their respective signatures and documentation."), (0, _react2.mdx)("p", null, "you can use a ", (0, _react2.mdx)("inlineCode", {
10103
10105
  parentName: "p"
10104
10106
  }, "<pattern>"), " for multiple component ids, such as ", (0, _react2.mdx)("inlineCode", {
10105
10107
  parentName: "p"
@@ -10145,6 +10147,21 @@ function MDXContent(_ref) {
10145
10147
  "align": null
10146
10148
  }, (0, _react2.mdx)("inlineCode", {
10147
10149
  parentName: "td"
10150
+ }, "--remote")), (0, _react2.mdx)("td", {
10151
+ parentName: "tr",
10152
+ "align": "center"
10153
+ }, (0, _react2.mdx)("inlineCode", {
10154
+ parentName: "td"
10155
+ }, "-r")), (0, _react2.mdx)("td", {
10156
+ parentName: "tr",
10157
+ "align": null
10158
+ }, "fetch schema from remote scope (works for components not in workspace)")), (0, _react2.mdx)("tr", {
10159
+ parentName: "tbody"
10160
+ }, (0, _react2.mdx)("td", {
10161
+ parentName: "tr",
10162
+ "align": null
10163
+ }, (0, _react2.mdx)("inlineCode", {
10164
+ parentName: "td"
10148
10165
  }, "--json")), (0, _react2.mdx)("td", {
10149
10166
  parentName: "tr",
10150
10167
  "align": "center"