@teambit/harmony.content.cli-reference 1.95.218 → 1.95.219
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.json +10 -10
- package/cli-reference.mdx +15 -14
- package/dist/cli-reference.composition.d.ts +2 -2
- package/dist/cli-reference.json +10 -10
- package/dist/cli-reference.mdx.js +19 -17
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1693711139103.js → preview-1693797525205.js} +2 -2
- package/package.json +2 -2
package/cli-reference.json
CHANGED
|
@@ -819,7 +819,7 @@
|
|
|
819
819
|
"name": "unset <component-pattern>",
|
|
820
820
|
"options": [],
|
|
821
821
|
"description": "un-sets an env from components that were previously set by \"bit env set\" or by a component template",
|
|
822
|
-
"extendedDescription": "keep in mind that this doesn't remove envs that are set via variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
822
|
+
"extendedDescription": "keep in mind that this doesn't remove envs that are set via variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\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",
|
|
823
823
|
"group": "development",
|
|
824
824
|
"arguments": [
|
|
825
825
|
{
|
|
@@ -996,7 +996,7 @@
|
|
|
996
996
|
"name": "set <scope-name> [component-pattern]",
|
|
997
997
|
"options": [],
|
|
998
998
|
"description": "Sets the scope for specified component/s. If no component is specified, sets the default scope of the workspace",
|
|
999
|
-
"extendedDescription": "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc.\na component is set with a scope (as oppose to default scope) only once it is versioned.'\n\nyou can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
999
|
+
"extendedDescription": "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc.\na component is set with a scope (as oppose to default scope) only once it is versioned.'\n\nyou can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\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",
|
|
1000
1000
|
"group": "development",
|
|
1001
1001
|
"arguments": [
|
|
1002
1002
|
{
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
]
|
|
1090
1090
|
],
|
|
1091
1091
|
"description": "eject components configuration (create a `component.json` file)",
|
|
1092
|
-
"extendedDescription": "note this can be reversed at any time by snapping/tagging changes and deleting the component.json file \nyou can use a `<pattern>` for multiple component ids, such as `bit eject-conf \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
1092
|
+
"extendedDescription": "note this can be reversed at any time by snapping/tagging changes and deleting the component.json file \nyou can use a `<pattern>` for multiple component ids, such as `bit eject-conf \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\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",
|
|
1093
1093
|
"group": "development",
|
|
1094
1094
|
"private": false
|
|
1095
1095
|
},
|
|
@@ -1227,28 +1227,28 @@
|
|
|
1227
1227
|
]
|
|
1228
1228
|
],
|
|
1229
1229
|
"description": "list the component ids matching the given pattern",
|
|
1230
|
-
"extendedDescription": "this command helps validating a pattern before using it in other commands.\na pattern can be a simple component-id or component-name. e.g.
|
|
1230
|
+
"extendedDescription": "this command helps validating a pattern before using it in other commands.\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'\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch)\nNOTE: always wrap the pattern with single quotes '' and not double \"\" to avoid collision with shell commands\n",
|
|
1231
1231
|
"group": "development",
|
|
1232
1232
|
"private": false,
|
|
1233
1233
|
"examples": [
|
|
1234
1234
|
{
|
|
1235
|
-
"cmd": "bit pattern
|
|
1235
|
+
"cmd": "bit pattern '**'",
|
|
1236
1236
|
"description": "matches all components"
|
|
1237
1237
|
},
|
|
1238
1238
|
{
|
|
1239
|
-
"cmd": "bit pattern
|
|
1239
|
+
"cmd": "bit pattern '*/ui/*'",
|
|
1240
1240
|
"description": "matches components with any scope-name and the \"ui\" namespace. e.g. \"ui/button\" but not \"ui/elements/button\""
|
|
1241
1241
|
},
|
|
1242
1242
|
{
|
|
1243
|
-
"cmd": "bit pattern
|
|
1243
|
+
"cmd": "bit pattern '*/ui/**'",
|
|
1244
1244
|
"description": "matches components whose namespace starts with \"ui/\" e.g. \"ui/button\", \"ui/elements/button\""
|
|
1245
1245
|
},
|
|
1246
1246
|
{
|
|
1247
|
-
"cmd": "bit pattern
|
|
1247
|
+
"cmd": "bit pattern 'bar, foo'",
|
|
1248
1248
|
"description": "matches two components: bar and foo"
|
|
1249
1249
|
},
|
|
1250
1250
|
{
|
|
1251
|
-
"cmd": "bit pattern
|
|
1251
|
+
"cmd": "bit pattern 'my-scope.org/**'",
|
|
1252
1252
|
"description": "matches all components of the scope \"my-scope.org\""
|
|
1253
1253
|
}
|
|
1254
1254
|
]
|
|
@@ -4148,7 +4148,7 @@
|
|
|
4148
4148
|
]
|
|
4149
4149
|
],
|
|
4150
4150
|
"description": "shows the API schema of the specified component/s.",
|
|
4151
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
4151
|
+
"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'\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",
|
|
4152
4152
|
"group": "development",
|
|
4153
4153
|
"private": false
|
|
4154
4154
|
},
|
package/cli-reference.mdx
CHANGED
|
@@ -649,8 +649,8 @@ By default the component files will be removed from the workspace
|
|
|
649
649
|
**Description**: eject components configuration (create a `component.json` file)
|
|
650
650
|
note this can be reversed at any time by snapping/tagging changes and deleting the component.json file
|
|
651
651
|
you can use a `<pattern>` for multiple component ids, such as `bit eject-conf "org.scope/utils/**"`.
|
|
652
|
-
use comma to separate patterns and
|
|
653
|
-
always wrap the pattern with quotes to avoid collision with shell commands.
|
|
652
|
+
use comma to separate patterns and '!' to exclude. e.g. 'ui/\*\*, !ui/button'
|
|
653
|
+
always wrap the pattern with single quotes to avoid collision with shell commands.
|
|
654
654
|
use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.
|
|
655
655
|
|
|
656
656
|
`bit eject-conf <pattern>`
|
|
@@ -709,8 +709,8 @@ keep in mind that this doesn't remove envs that are set via variants.
|
|
|
709
709
|
in only removes envs that appear in the .bitmap file, which were previously configured via "bit env set".
|
|
710
710
|
the purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.
|
|
711
711
|
you can use a `<pattern>` for multiple component ids, such as `bit env unset "org.scope/utils/**"`.
|
|
712
|
-
use comma to separate patterns and
|
|
713
|
-
always wrap the pattern with quotes to avoid collision with shell commands.
|
|
712
|
+
use comma to separate patterns and '!' to exclude. e.g. 'ui/\*\*, !ui/button'
|
|
713
|
+
always wrap the pattern with single quotes to avoid collision with shell commands.
|
|
714
714
|
use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.
|
|
715
715
|
|
|
716
716
|
| **Arg** | **Description** |
|
|
@@ -1410,12 +1410,13 @@ move files or directories of component(s)
|
|
|
1410
1410
|
|
|
1411
1411
|
**Description**: list the component ids matching the given pattern
|
|
1412
1412
|
this command helps validating a pattern before using it in other commands.
|
|
1413
|
-
a pattern can be a simple component-id or component-name. e.g.
|
|
1414
|
-
a pattern can be used with wildcards for multiple component ids, e.g.
|
|
1415
|
-
to enter multiple patterns, separate them by a comma, e.g.
|
|
1416
|
-
to exclude, use
|
|
1417
|
-
always wrap the pattern with quotes to avoid collision with shell commands.
|
|
1418
|
-
the matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch)
|
|
1413
|
+
a pattern can be a simple component-id or component-name. e.g. 'ui/button'.
|
|
1414
|
+
a pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.
|
|
1415
|
+
to enter multiple patterns, separate them by a comma, e.g. 'ui/_, lib/_'
|
|
1416
|
+
to exclude, use '!'. e.g. 'ui/**, !ui/button'
|
|
1417
|
+
always wrap the pattern with single quotes to avoid collision with shell commands.
|
|
1418
|
+
the matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch)
|
|
1419
|
+
NOTE: always wrap the pattern with single quotes '' and not double "" to avoid collision with shell commands
|
|
1419
1420
|
|
|
1420
1421
|
`bit pattern <pattern>`
|
|
1421
1422
|
|
|
@@ -1592,8 +1593,8 @@ https://https://bit.dev//components/tags#undoing-a-tag
|
|
|
1592
1593
|
|
|
1593
1594
|
**Description**: shows the API schema of the specified component/s.
|
|
1594
1595
|
you can use a `<pattern>` for multiple component ids, such as `bit schema "org.scope/utils/**"`.
|
|
1595
|
-
use comma to separate patterns and
|
|
1596
|
-
always wrap the pattern with quotes to avoid collision with shell commands.
|
|
1596
|
+
use comma to separate patterns and '!' to exclude. e.g. 'ui/\*\*, !ui/button'
|
|
1597
|
+
always wrap the pattern with single quotes to avoid collision with shell commands.
|
|
1597
1598
|
use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.
|
|
1598
1599
|
|
|
1599
1600
|
`bit schema <pattern>`
|
|
@@ -1619,8 +1620,8 @@ default scopes for components are set in the bitmap file. the default scope for
|
|
|
1619
1620
|
a component is set with a scope (as oppose to default scope) only once it is versioned.'
|
|
1620
1621
|
|
|
1621
1622
|
you can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name "org.scope/utils/**"`.
|
|
1622
|
-
use comma to separate patterns and
|
|
1623
|
-
always wrap the pattern with quotes to avoid collision with shell commands.
|
|
1623
|
+
use comma to separate patterns and '!' to exclude. e.g. 'ui/\*\*, !ui/button'
|
|
1624
|
+
always wrap the pattern with single quotes to avoid collision with shell commands.
|
|
1624
1625
|
use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.
|
|
1625
1626
|
|
|
1626
1627
|
| **Arg** | **Description** |
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const BasicCliReference: () =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const BasicCliReference: () => JSX.Element;
|
package/dist/cli-reference.json
CHANGED
|
@@ -819,7 +819,7 @@
|
|
|
819
819
|
"name": "unset <component-pattern>",
|
|
820
820
|
"options": [],
|
|
821
821
|
"description": "un-sets an env from components that were previously set by \"bit env set\" or by a component template",
|
|
822
|
-
"extendedDescription": "keep in mind that this doesn't remove envs that are set via variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
822
|
+
"extendedDescription": "keep in mind that this doesn't remove envs that are set via variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\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",
|
|
823
823
|
"group": "development",
|
|
824
824
|
"arguments": [
|
|
825
825
|
{
|
|
@@ -996,7 +996,7 @@
|
|
|
996
996
|
"name": "set <scope-name> [component-pattern]",
|
|
997
997
|
"options": [],
|
|
998
998
|
"description": "Sets the scope for specified component/s. If no component is specified, sets the default scope of the workspace",
|
|
999
|
-
"extendedDescription": "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc.\na component is set with a scope (as oppose to default scope) only once it is versioned.'\n\nyou can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
999
|
+
"extendedDescription": "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc.\na component is set with a scope (as oppose to default scope) only once it is versioned.'\n\nyou can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\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",
|
|
1000
1000
|
"group": "development",
|
|
1001
1001
|
"arguments": [
|
|
1002
1002
|
{
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
]
|
|
1090
1090
|
],
|
|
1091
1091
|
"description": "eject components configuration (create a `component.json` file)",
|
|
1092
|
-
"extendedDescription": "note this can be reversed at any time by snapping/tagging changes and deleting the component.json file \nyou can use a `<pattern>` for multiple component ids, such as `bit eject-conf \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
1092
|
+
"extendedDescription": "note this can be reversed at any time by snapping/tagging changes and deleting the component.json file \nyou can use a `<pattern>` for multiple component ids, such as `bit eject-conf \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\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",
|
|
1093
1093
|
"group": "development",
|
|
1094
1094
|
"private": false
|
|
1095
1095
|
},
|
|
@@ -1227,28 +1227,28 @@
|
|
|
1227
1227
|
]
|
|
1228
1228
|
],
|
|
1229
1229
|
"description": "list the component ids matching the given pattern",
|
|
1230
|
-
"extendedDescription": "this command helps validating a pattern before using it in other commands.\na pattern can be a simple component-id or component-name. e.g.
|
|
1230
|
+
"extendedDescription": "this command helps validating a pattern before using it in other commands.\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'\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch)\nNOTE: always wrap the pattern with single quotes '' and not double \"\" to avoid collision with shell commands\n",
|
|
1231
1231
|
"group": "development",
|
|
1232
1232
|
"private": false,
|
|
1233
1233
|
"examples": [
|
|
1234
1234
|
{
|
|
1235
|
-
"cmd": "bit pattern
|
|
1235
|
+
"cmd": "bit pattern '**'",
|
|
1236
1236
|
"description": "matches all components"
|
|
1237
1237
|
},
|
|
1238
1238
|
{
|
|
1239
|
-
"cmd": "bit pattern
|
|
1239
|
+
"cmd": "bit pattern '*/ui/*'",
|
|
1240
1240
|
"description": "matches components with any scope-name and the \"ui\" namespace. e.g. \"ui/button\" but not \"ui/elements/button\""
|
|
1241
1241
|
},
|
|
1242
1242
|
{
|
|
1243
|
-
"cmd": "bit pattern
|
|
1243
|
+
"cmd": "bit pattern '*/ui/**'",
|
|
1244
1244
|
"description": "matches components whose namespace starts with \"ui/\" e.g. \"ui/button\", \"ui/elements/button\""
|
|
1245
1245
|
},
|
|
1246
1246
|
{
|
|
1247
|
-
"cmd": "bit pattern
|
|
1247
|
+
"cmd": "bit pattern 'bar, foo'",
|
|
1248
1248
|
"description": "matches two components: bar and foo"
|
|
1249
1249
|
},
|
|
1250
1250
|
{
|
|
1251
|
-
"cmd": "bit pattern
|
|
1251
|
+
"cmd": "bit pattern 'my-scope.org/**'",
|
|
1252
1252
|
"description": "matches all components of the scope \"my-scope.org\""
|
|
1253
1253
|
}
|
|
1254
1254
|
]
|
|
@@ -4148,7 +4148,7 @@
|
|
|
4148
4148
|
]
|
|
4149
4149
|
],
|
|
4150
4150
|
"description": "shows the API schema of the specified component/s.",
|
|
4151
|
-
"extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and
|
|
4151
|
+
"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'\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",
|
|
4152
4152
|
"group": "development",
|
|
4153
4153
|
"private": false
|
|
4154
4154
|
},
|
|
@@ -2997,9 +2997,9 @@ function MDXContent(_ref) {
|
|
|
2997
2997
|
parentName: "p"
|
|
2998
2998
|
}, "bit eject-conf \"org.scope/utils/**\""), ".", (0, _react2.mdx)("br", {
|
|
2999
2999
|
parentName: "p"
|
|
3000
|
-
}), "\n", "use comma to separate patterns and
|
|
3000
|
+
}), "\n", "use comma to separate patterns and '!' to exclude. e.g. 'ui/", "*", "*", ", !ui/button'", (0, _react2.mdx)("br", {
|
|
3001
3001
|
parentName: "p"
|
|
3002
|
-
}), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
3002
|
+
}), "\n", "always wrap the pattern with single quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
3003
3003
|
parentName: "p"
|
|
3004
3004
|
}), "\n", "use ", (0, _react2.mdx)("inlineCode", {
|
|
3005
3005
|
parentName: "p"
|
|
@@ -3204,9 +3204,9 @@ function MDXContent(_ref) {
|
|
|
3204
3204
|
parentName: "p"
|
|
3205
3205
|
}, "bit env unset \"org.scope/utils/**\""), ".", (0, _react2.mdx)("br", {
|
|
3206
3206
|
parentName: "p"
|
|
3207
|
-
}), "\n", "use comma to separate patterns and
|
|
3207
|
+
}), "\n", "use comma to separate patterns and '!' to exclude. e.g. 'ui/", "*", "*", ", !ui/button'", (0, _react2.mdx)("br", {
|
|
3208
3208
|
parentName: "p"
|
|
3209
|
-
}), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
3209
|
+
}), "\n", "always wrap the pattern with single quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
3210
3210
|
parentName: "p"
|
|
3211
3211
|
}), "\n", "use ", (0, _react2.mdx)("inlineCode", {
|
|
3212
3212
|
parentName: "p"
|
|
@@ -7172,26 +7172,28 @@ function MDXContent(_ref) {
|
|
|
7172
7172
|
parentName: "p"
|
|
7173
7173
|
}), "\n", "this command helps validating a pattern before using it in other commands.", (0, _react2.mdx)("br", {
|
|
7174
7174
|
parentName: "p"
|
|
7175
|
-
}), "\n", "a pattern can be a simple component-id or component-name. e.g.
|
|
7175
|
+
}), "\n", "a pattern can be a simple component-id or component-name. e.g. 'ui/button'.", (0, _react2.mdx)("br", {
|
|
7176
7176
|
parentName: "p"
|
|
7177
|
-
}), "\n", "a pattern can be used with wildcards for multiple component ids, e.g.
|
|
7177
|
+
}), "\n", "a pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/", (0, _react2.mdx)("strong", {
|
|
7178
7178
|
parentName: "p"
|
|
7179
|
-
}, "
|
|
7179
|
+
}, "' or '"), "/utils/", (0, _react2.mdx)("strong", {
|
|
7180
7180
|
parentName: "p"
|
|
7181
|
-
}, "
|
|
7181
|
+
}, "' to capture all org/scopes.", (0, _react2.mdx)("br", {
|
|
7182
7182
|
parentName: "strong"
|
|
7183
|
-
}), "to enter multiple patterns, separate them by a comma, e.g.
|
|
7183
|
+
}), "to enter multiple patterns, separate them by a comma, e.g. 'ui/", (0, _react2.mdx)("em", {
|
|
7184
7184
|
parentName: "strong"
|
|
7185
|
-
}, ", lib/"), "
|
|
7185
|
+
}, ", lib/"), "'", (0, _react2.mdx)("br", {
|
|
7186
7186
|
parentName: "strong"
|
|
7187
|
-
}), "to exclude, use
|
|
7187
|
+
}), "to exclude, use '!'. e.g. 'ui/"), ", !ui/button'", (0, _react2.mdx)("br", {
|
|
7188
7188
|
parentName: "p"
|
|
7189
|
-
}), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
7189
|
+
}), "\n", "always wrap the pattern with single quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
7190
7190
|
parentName: "p"
|
|
7191
7191
|
}), "\n", "the matching algorithm is from multimatch (@see ", (0, _react2.mdx)("a", {
|
|
7192
7192
|
parentName: "p",
|
|
7193
7193
|
"href": "https://github.com/sindresorhus/multimatch"
|
|
7194
|
-
}, "https://github.com/sindresorhus/multimatch"), ")"
|
|
7194
|
+
}, "https://github.com/sindresorhus/multimatch"), ")", (0, _react2.mdx)("br", {
|
|
7195
|
+
parentName: "p"
|
|
7196
|
+
}), "\n", "NOTE: always wrap the pattern with single quotes '' and not double \"\" to avoid collision with shell commands"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7195
7197
|
parentName: "p"
|
|
7196
7198
|
}, "bit pattern <pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7197
7199
|
parentName: "table"
|
|
@@ -8013,9 +8015,9 @@ function MDXContent(_ref) {
|
|
|
8013
8015
|
parentName: "p"
|
|
8014
8016
|
}, "bit schema \"org.scope/utils/**\""), ".", (0, _react2.mdx)("br", {
|
|
8015
8017
|
parentName: "p"
|
|
8016
|
-
}), "\n", "use comma to separate patterns and
|
|
8018
|
+
}), "\n", "use comma to separate patterns and '!' to exclude. e.g. 'ui/", "*", "*", ", !ui/button'", (0, _react2.mdx)("br", {
|
|
8017
8019
|
parentName: "p"
|
|
8018
|
-
}), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
8020
|
+
}), "\n", "always wrap the pattern with single quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
8019
8021
|
parentName: "p"
|
|
8020
8022
|
}), "\n", "use ", (0, _react2.mdx)("inlineCode", {
|
|
8021
8023
|
parentName: "p"
|
|
@@ -8079,9 +8081,9 @@ function MDXContent(_ref) {
|
|
|
8079
8081
|
parentName: "p"
|
|
8080
8082
|
}, "bit scope set scope-name \"org.scope/utils/**\""), ".", (0, _react2.mdx)("br", {
|
|
8081
8083
|
parentName: "p"
|
|
8082
|
-
}), "\n", "use comma to separate patterns and
|
|
8084
|
+
}), "\n", "use comma to separate patterns and '!' to exclude. e.g. 'ui/", "*", "*", ", !ui/button'", (0, _react2.mdx)("br", {
|
|
8083
8085
|
parentName: "p"
|
|
8084
|
-
}), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
8086
|
+
}), "\n", "always wrap the pattern with single quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
8085
8087
|
parentName: "p"
|
|
8086
8088
|
}), "\n", "use ", (0, _react2.mdx)("inlineCode", {
|
|
8087
8089
|
parentName: "p"
|