@teambit/harmony.content.cli-reference 2.0.1002 → 2.0.1003

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.13.139'
2
+ description: 'Bit command synopses. Bit version: 1.13.140'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1445,6 +1445,43 @@
1445
1445
  "remoteOp": true,
1446
1446
  "skipWorkspace": true
1447
1447
  },
1448
+ {
1449
+ "name": "search <query...>",
1450
+ "alias": "",
1451
+ "options": [
1452
+ [
1453
+ "o",
1454
+ "owners <list>",
1455
+ "comma-separated list of owners/orgs to filter remote results by"
1456
+ ],
1457
+ [
1458
+ "",
1459
+ "skip-auto-owner",
1460
+ "do not auto-extract owner from workspace defaultScope"
1461
+ ],
1462
+ [
1463
+ "r",
1464
+ "remote-only",
1465
+ "only search remote bit cloud, skip local workspace"
1466
+ ],
1467
+ [
1468
+ "l",
1469
+ "local-only",
1470
+ "only search the local workspace, skip remote bit cloud"
1471
+ ],
1472
+ [
1473
+ "j",
1474
+ "json",
1475
+ "show the output in JSON format"
1476
+ ]
1477
+ ],
1478
+ "description": "search for components by keyword in the local workspace and remote bit cloud",
1479
+ "extendedDescription": "runs the provided query terms in parallel against bit cloud and against the local workspace.\nmultiple queries are unioned (deduplicated) in the output. by default, remote results are filtered by the\nowner extracted from the workspace's defaultScope; use --owners or --skip-auto-owner to change this.",
1480
+ "group": "info-analysis",
1481
+ "private": false,
1482
+ "remoteOp": true,
1483
+ "skipWorkspace": true
1484
+ },
1448
1485
  {
1449
1486
  "name": "ws-config <sub-command>",
1450
1487
  "alias": "workspace-config",
package/cli-reference.mdx CHANGED
@@ -2417,6 +2417,25 @@ use --list to see all available scripts.
2417
2417
 
2418
2418
  ---
2419
2419
 
2420
+ ## search
2421
+
2422
+ **Description**: search for components by keyword in the local workspace and remote bit cloud
2423
+ runs the provided query terms in parallel against bit cloud and against the local workspace.
2424
+ multiple queries are unioned (deduplicated) in the output. by default, remote results are filtered by the
2425
+ owner extracted from the workspace's defaultScope; use --owners or --skip-auto-owner to change this.
2426
+
2427
+ `bit search <query...>`
2428
+
2429
+ | **Option** | **Option alias** | **Description** |
2430
+ | ------------------- | :--------------: | --------------------------------------------------------------- |
2431
+ | `--owners <list>` | `-o` | comma-separated list of owners/orgs to filter remote results by |
2432
+ | `--skip-auto-owner` | | do not auto-extract owner from workspace defaultScope |
2433
+ | `--remote-only` | `-r` | only search remote bit cloud, skip local workspace |
2434
+ | `--local-only` | `-l` | only search the local workspace, skip remote bit cloud |
2435
+ | `--json` | `-j` | show the output in JSON format |
2436
+
2437
+ ---
2438
+
2420
2439
  ## set-peer
2421
2440
 
2422
2441
  **Description**: configure component to always be installed as peer dependency
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.13.139'
2
+ description: 'Bit command synopses. Bit version: 1.13.140'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1445,6 +1445,43 @@
1445
1445
  "remoteOp": true,
1446
1446
  "skipWorkspace": true
1447
1447
  },
1448
+ {
1449
+ "name": "search <query...>",
1450
+ "alias": "",
1451
+ "options": [
1452
+ [
1453
+ "o",
1454
+ "owners <list>",
1455
+ "comma-separated list of owners/orgs to filter remote results by"
1456
+ ],
1457
+ [
1458
+ "",
1459
+ "skip-auto-owner",
1460
+ "do not auto-extract owner from workspace defaultScope"
1461
+ ],
1462
+ [
1463
+ "r",
1464
+ "remote-only",
1465
+ "only search remote bit cloud, skip local workspace"
1466
+ ],
1467
+ [
1468
+ "l",
1469
+ "local-only",
1470
+ "only search the local workspace, skip remote bit cloud"
1471
+ ],
1472
+ [
1473
+ "j",
1474
+ "json",
1475
+ "show the output in JSON format"
1476
+ ]
1477
+ ],
1478
+ "description": "search for components by keyword in the local workspace and remote bit cloud",
1479
+ "extendedDescription": "runs the provided query terms in parallel against bit cloud and against the local workspace.\nmultiple queries are unioned (deduplicated) in the output. by default, remote results are filtered by the\nowner extracted from the workspace's defaultScope; use --owners or --skip-auto-owner to change this.",
1480
+ "group": "info-analysis",
1481
+ "private": false,
1482
+ "remoteOp": true,
1483
+ "skipWorkspace": true
1484
+ },
1448
1485
  {
1449
1486
  "name": "ws-config <sub-command>",
1450
1487
  "alias": "workspace-config",
@@ -4890,6 +4890,42 @@ function _createMdxContent(props) {
4890
4890
  }), " | ", (0, _jsxRuntime.jsx)(_components.code, {
4891
4891
  children: "-l"
4892
4892
  }), " | list all available scripts from all environments |"]
4893
+ }), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
4894
+ children: "search"
4895
+ }), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
4896
+ children: [(0, _jsxRuntime.jsx)(_components.strong, {
4897
+ children: "Description"
4898
+ }), ": search for components by keyword in the local workspace and remote bit cloud", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "runs the provided query terms in parallel against bit cloud and against the local workspace.", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "multiple queries are unioned (deduplicated) in the output. by default, remote results are filtered by the", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "owner extracted from the workspace's defaultScope; use --owners or --skip-auto-owner to change this."]
4899
+ }), "\n", (0, _jsxRuntime.jsx)(_components.p, {
4900
+ children: (0, _jsxRuntime.jsx)(_components.code, {
4901
+ children: "bit search <query...>"
4902
+ })
4903
+ }), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
4904
+ children: ["| ", (0, _jsxRuntime.jsx)(_components.strong, {
4905
+ children: "Option"
4906
+ }), " | ", (0, _jsxRuntime.jsx)(_components.strong, {
4907
+ children: "Option alias"
4908
+ }), " | ", (0, _jsxRuntime.jsx)(_components.strong, {
4909
+ children: "Description"
4910
+ }), " |\n| ------------------- | :--------------: | --------------------------------------------------------------- |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
4911
+ children: "--owners <list>"
4912
+ }), " | ", (0, _jsxRuntime.jsx)(_components.code, {
4913
+ children: "-o"
4914
+ }), " | comma-separated list of owners/orgs to filter remote results by |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
4915
+ children: "--skip-auto-owner"
4916
+ }), " | | do not auto-extract owner from workspace defaultScope |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
4917
+ children: "--remote-only"
4918
+ }), " | ", (0, _jsxRuntime.jsx)(_components.code, {
4919
+ children: "-r"
4920
+ }), " | only search remote bit cloud, skip local workspace |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
4921
+ children: "--local-only"
4922
+ }), " | ", (0, _jsxRuntime.jsx)(_components.code, {
4923
+ children: "-l"
4924
+ }), " | only search the local workspace, skip remote bit cloud |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
4925
+ children: "--json"
4926
+ }), " | ", (0, _jsxRuntime.jsx)(_components.code, {
4927
+ children: "-j"
4928
+ }), " | show the output in JSON format |"]
4893
4929
  }), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
4894
4930
  children: "set-peer"
4895
4931
  }), "\n", (0, _jsxRuntime.jsxs)(_components.p, {