@teambit/harmony.content.cli-reference 2.0.852 → 2.0.854

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.12.206'
2
+ description: 'Bit command synopses. Bit version: 1.12.208'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -939,12 +939,18 @@
939
939
  "j",
940
940
  "json",
941
941
  "return the output as JSON"
942
+ ],
943
+ [
944
+ "r",
945
+ "remote",
946
+ "query a remote scope (the pattern must start with the scope name, e.g. \"scope-name/**\")"
942
947
  ]
943
948
  ],
944
949
  "description": "test and validate component patterns",
945
950
  "extendedDescription": "this command helps validating a pattern before using it in other commands.\nNOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.\na pattern can be a simple component-id or component-name. e.g. 'ui/button'.\na pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.\nto enter multiple patterns, separate them by a comma, e.g. 'ui/*, lib/*'\nto exclude, use '!'. e.g. 'ui/**, !ui/button'\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch).\n\nto filter by a state or attribute, prefix the pattern with \"$\". e.g. '$deprecated', '$modified'.\nlist of supported states: [new, modified, deprecated, deleted, snappedOnMain, softTagged, codeModified, localOnly].\nto filter by multi-params state/attribute, separate the params with \":\", e.g. '$env:teambit.react/react'.\nlist of supported multi-params states: [env].\nto match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/** AND $env:teambit.react/react'.\n",
946
951
  "group": "info-analysis",
947
952
  "private": false,
953
+ "remoteOp": true,
948
954
  "examples": [
949
955
  {
950
956
  "cmd": "bit pattern '**'",
@@ -965,6 +971,10 @@
965
971
  {
966
972
  "cmd": "bit pattern 'my-scope.org/**'",
967
973
  "description": "matches all components of the scope \"my-scope.org\""
974
+ },
975
+ {
976
+ "cmd": "bit pattern --remote 'teambit.workspace/**'",
977
+ "description": "matches all components from the remote scope \"teambit.workspace\""
968
978
  }
969
979
  ]
970
980
  },
package/cli-reference.mdx CHANGED
@@ -1906,9 +1906,10 @@ to match a state and another criteria, use " AND " keyword. e.g. '$modified AND
1906
1906
 
1907
1907
  `bit pattern <pattern>`
1908
1908
 
1909
- | **Option** | **Option alias** | **Description** |
1910
- | ---------- | :--------------: | ------------------------- |
1911
- | `--json` | `-j` | return the output as JSON |
1909
+ | **Option** | **Option alias** | **Description** |
1910
+ | ---------- | :--------------: | ----------------------------------------------------------------------------------------- |
1911
+ | `--json` | `-j` | return the output as JSON |
1912
+ | `--remote` | `-r` | query a remote scope (the pattern must start with the scope name, e.g. "scope-name/\*\*") |
1912
1913
 
1913
1914
  ---
1914
1915
 
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.12.206'
2
+ description: 'Bit command synopses. Bit version: 1.12.208'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -939,12 +939,18 @@
939
939
  "j",
940
940
  "json",
941
941
  "return the output as JSON"
942
+ ],
943
+ [
944
+ "r",
945
+ "remote",
946
+ "query a remote scope (the pattern must start with the scope name, e.g. \"scope-name/**\")"
942
947
  ]
943
948
  ],
944
949
  "description": "test and validate component patterns",
945
950
  "extendedDescription": "this command helps validating a pattern before using it in other commands.\nNOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.\na pattern can be a simple component-id or component-name. e.g. 'ui/button'.\na pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.\nto enter multiple patterns, separate them by a comma, e.g. 'ui/*, lib/*'\nto exclude, use '!'. e.g. 'ui/**, !ui/button'\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch).\n\nto filter by a state or attribute, prefix the pattern with \"$\". e.g. '$deprecated', '$modified'.\nlist of supported states: [new, modified, deprecated, deleted, snappedOnMain, softTagged, codeModified, localOnly].\nto filter by multi-params state/attribute, separate the params with \":\", e.g. '$env:teambit.react/react'.\nlist of supported multi-params states: [env].\nto match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/** AND $env:teambit.react/react'.\n",
946
951
  "group": "info-analysis",
947
952
  "private": false,
953
+ "remoteOp": true,
948
954
  "examples": [
949
955
  {
950
956
  "cmd": "bit pattern '**'",
@@ -965,6 +971,10 @@
965
971
  {
966
972
  "cmd": "bit pattern 'my-scope.org/**'",
967
973
  "description": "matches all components of the scope \"my-scope.org\""
974
+ },
975
+ {
976
+ "cmd": "bit pattern --remote 'teambit.workspace/**'",
977
+ "description": "matches all components from the remote scope \"teambit.workspace\""
968
978
  }
969
979
  ]
970
980
  },
@@ -10087,7 +10087,22 @@ function MDXContent(_ref) {
10087
10087
  }, "-j")), (0, _react2.mdx)("td", {
10088
10088
  parentName: "tr",
10089
10089
  "align": null
10090
- }, "return the output as JSON")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "recover"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10090
+ }, "return the output as JSON")), (0, _react2.mdx)("tr", {
10091
+ parentName: "tbody"
10092
+ }, (0, _react2.mdx)("td", {
10093
+ parentName: "tr",
10094
+ "align": null
10095
+ }, (0, _react2.mdx)("inlineCode", {
10096
+ parentName: "td"
10097
+ }, "--remote")), (0, _react2.mdx)("td", {
10098
+ parentName: "tr",
10099
+ "align": "center"
10100
+ }, (0, _react2.mdx)("inlineCode", {
10101
+ parentName: "td"
10102
+ }, "-r")), (0, _react2.mdx)("td", {
10103
+ parentName: "tr",
10104
+ "align": null
10105
+ }, "query a remote scope (the pattern must start with the scope name, e.g. \"scope-name/", "*", "*", "\")")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "recover"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10091
10106
  parentName: "p"
10092
10107
  }, "Description"), ": restore soft-deleted components", (0, _react2.mdx)("br", {
10093
10108
  parentName: "p"