@teambit/harmony.content.cli-reference 2.0.513 → 2.0.515
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.docs.mdx +1 -1
- package/cli-reference.json +26 -0
- package/cli-reference.mdx +14 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +26 -0
- package/dist/cli-reference.mdx.js +73 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1735217145314.js → preview-1736219851589.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -4382,6 +4382,11 @@
|
|
|
4382
4382
|
"",
|
|
4383
4383
|
"stream",
|
|
4384
4384
|
"relevant for --json only. stream loader as json strings"
|
|
4385
|
+
],
|
|
4386
|
+
[
|
|
4387
|
+
"x",
|
|
4388
|
+
"skip-dependency-installation",
|
|
4389
|
+
"do not auto-install dependencies of the imported components"
|
|
4385
4390
|
]
|
|
4386
4391
|
],
|
|
4387
4392
|
"description": "apply files/config to components",
|
|
@@ -5319,6 +5324,27 @@
|
|
|
5319
5324
|
}
|
|
5320
5325
|
]
|
|
5321
5326
|
},
|
|
5327
|
+
{
|
|
5328
|
+
"name": "list-core",
|
|
5329
|
+
"alias": "",
|
|
5330
|
+
"options": [
|
|
5331
|
+
[
|
|
5332
|
+
"j",
|
|
5333
|
+
"json",
|
|
5334
|
+
"format as json"
|
|
5335
|
+
]
|
|
5336
|
+
],
|
|
5337
|
+
"description": "list all core aspects",
|
|
5338
|
+
"extendedDescription": "",
|
|
5339
|
+
"group": "development",
|
|
5340
|
+
"private": false,
|
|
5341
|
+
"arguments": [
|
|
5342
|
+
{
|
|
5343
|
+
"name": "pattern",
|
|
5344
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use 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'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
5345
|
+
}
|
|
5346
|
+
]
|
|
5347
|
+
},
|
|
5322
5348
|
{
|
|
5323
5349
|
"name": "get <component-name>",
|
|
5324
5350
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -117,6 +117,20 @@ and a package.tgz file generated by pkg aspect.
|
|
|
117
117
|
| ---------- | :--------------: | -------------------------------------------------- |
|
|
118
118
|
| `--debug` | `-d` | show the origins where the aspects were taken from |
|
|
119
119
|
|
|
120
|
+
### aspect list-core
|
|
121
|
+
|
|
122
|
+
**Usage**: `aspect list-core`
|
|
123
|
+
|
|
124
|
+
**Description**: list all core aspects
|
|
125
|
+
|
|
126
|
+
| **Arg** | **Description** |
|
|
127
|
+
| --------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
128
|
+
| `pattern` | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
129
|
+
|
|
130
|
+
| **Option** | **Option alias** | **Description** |
|
|
131
|
+
| ---------- | :--------------: | --------------- |
|
|
132
|
+
| `--json` | `-j` | format as json |
|
|
133
|
+
|
|
120
134
|
### aspect get
|
|
121
135
|
|
|
122
136
|
**Usage**: `aspect get <component-name>`
|
package/dist/cli-reference.json
CHANGED
|
@@ -4382,6 +4382,11 @@
|
|
|
4382
4382
|
"",
|
|
4383
4383
|
"stream",
|
|
4384
4384
|
"relevant for --json only. stream loader as json strings"
|
|
4385
|
+
],
|
|
4386
|
+
[
|
|
4387
|
+
"x",
|
|
4388
|
+
"skip-dependency-installation",
|
|
4389
|
+
"do not auto-install dependencies of the imported components"
|
|
4385
4390
|
]
|
|
4386
4391
|
],
|
|
4387
4392
|
"description": "apply files/config to components",
|
|
@@ -5319,6 +5324,27 @@
|
|
|
5319
5324
|
}
|
|
5320
5325
|
]
|
|
5321
5326
|
},
|
|
5327
|
+
{
|
|
5328
|
+
"name": "list-core",
|
|
5329
|
+
"alias": "",
|
|
5330
|
+
"options": [
|
|
5331
|
+
[
|
|
5332
|
+
"j",
|
|
5333
|
+
"json",
|
|
5334
|
+
"format as json"
|
|
5335
|
+
]
|
|
5336
|
+
],
|
|
5337
|
+
"description": "list all core aspects",
|
|
5338
|
+
"extendedDescription": "",
|
|
5339
|
+
"group": "development",
|
|
5340
|
+
"private": false,
|
|
5341
|
+
"arguments": [
|
|
5342
|
+
{
|
|
5343
|
+
"name": "pattern",
|
|
5344
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use 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'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
5345
|
+
}
|
|
5346
|
+
]
|
|
5347
|
+
},
|
|
5322
5348
|
{
|
|
5323
5349
|
"name": "get <component-name>",
|
|
5324
5350
|
"alias": "",
|
|
@@ -542,7 +542,79 @@ function MDXContent(_ref) {
|
|
|
542
542
|
}, "-d")), (0, _react2.mdx)("td", {
|
|
543
543
|
parentName: "tr",
|
|
544
544
|
"align": null
|
|
545
|
-
}, "show the origins where the aspects were taken from")))), (0, _react2.mdx)("h3", null, "aspect
|
|
545
|
+
}, "show the origins where the aspects were taken from")))), (0, _react2.mdx)("h3", null, "aspect list-core"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
546
|
+
parentName: "p"
|
|
547
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
548
|
+
parentName: "p"
|
|
549
|
+
}, "aspect list-core")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
550
|
+
parentName: "p"
|
|
551
|
+
}, "Description"), ": list all core aspects"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
552
|
+
parentName: "table"
|
|
553
|
+
}, (0, _react2.mdx)("tr", {
|
|
554
|
+
parentName: "thead"
|
|
555
|
+
}, (0, _react2.mdx)("th", {
|
|
556
|
+
parentName: "tr",
|
|
557
|
+
"align": null
|
|
558
|
+
}, (0, _react2.mdx)("strong", {
|
|
559
|
+
parentName: "th"
|
|
560
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
561
|
+
parentName: "tr",
|
|
562
|
+
"align": "center"
|
|
563
|
+
}, (0, _react2.mdx)("strong", {
|
|
564
|
+
parentName: "th"
|
|
565
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
566
|
+
parentName: "table"
|
|
567
|
+
}, (0, _react2.mdx)("tr", {
|
|
568
|
+
parentName: "tbody"
|
|
569
|
+
}, (0, _react2.mdx)("td", {
|
|
570
|
+
parentName: "tr",
|
|
571
|
+
"align": null
|
|
572
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
573
|
+
parentName: "td"
|
|
574
|
+
}, "pattern")), (0, _react2.mdx)("td", {
|
|
575
|
+
parentName: "tr",
|
|
576
|
+
"align": "center"
|
|
577
|
+
}, "component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use ", (0, _react2.mdx)("inlineCode", {
|
|
578
|
+
parentName: "td"
|
|
579
|
+
}, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
|
|
580
|
+
parentName: "td"
|
|
581
|
+
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
582
|
+
parentName: "table"
|
|
583
|
+
}, (0, _react2.mdx)("tr", {
|
|
584
|
+
parentName: "thead"
|
|
585
|
+
}, (0, _react2.mdx)("th", {
|
|
586
|
+
parentName: "tr",
|
|
587
|
+
"align": null
|
|
588
|
+
}, (0, _react2.mdx)("strong", {
|
|
589
|
+
parentName: "th"
|
|
590
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
591
|
+
parentName: "tr",
|
|
592
|
+
"align": "center"
|
|
593
|
+
}, (0, _react2.mdx)("strong", {
|
|
594
|
+
parentName: "th"
|
|
595
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
596
|
+
parentName: "tr",
|
|
597
|
+
"align": null
|
|
598
|
+
}, (0, _react2.mdx)("strong", {
|
|
599
|
+
parentName: "th"
|
|
600
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
601
|
+
parentName: "table"
|
|
602
|
+
}, (0, _react2.mdx)("tr", {
|
|
603
|
+
parentName: "tbody"
|
|
604
|
+
}, (0, _react2.mdx)("td", {
|
|
605
|
+
parentName: "tr",
|
|
606
|
+
"align": null
|
|
607
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
608
|
+
parentName: "td"
|
|
609
|
+
}, "--json")), (0, _react2.mdx)("td", {
|
|
610
|
+
parentName: "tr",
|
|
611
|
+
"align": "center"
|
|
612
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
613
|
+
parentName: "td"
|
|
614
|
+
}, "-j")), (0, _react2.mdx)("td", {
|
|
615
|
+
parentName: "tr",
|
|
616
|
+
"align": null
|
|
617
|
+
}, "format as json")))), (0, _react2.mdx)("h3", null, "aspect get"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
546
618
|
parentName: "p"
|
|
547
619
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
548
620
|
parentName: "p"
|