@teambit/harmony.content.cli-reference 2.0.552 → 2.0.554
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 +10 -10
- package/cli-reference.mdx +3 -3
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +10 -10
- package/dist/cli-reference.mdx.js +11 -13
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1739172212326.js → preview-1739244007270.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -535,11 +535,6 @@
|
|
|
535
535
|
"name": "graph [id]",
|
|
536
536
|
"alias": "",
|
|
537
537
|
"options": [
|
|
538
|
-
[
|
|
539
|
-
"i",
|
|
540
|
-
"image <image>",
|
|
541
|
-
"image path and format. use one of the following extensions: [gif, png, svg, pdf]"
|
|
542
|
-
],
|
|
543
538
|
[
|
|
544
539
|
"r",
|
|
545
540
|
"remote [remoteName]",
|
|
@@ -547,13 +542,18 @@
|
|
|
547
542
|
],
|
|
548
543
|
[
|
|
549
544
|
"",
|
|
550
|
-
"
|
|
551
|
-
"
|
|
545
|
+
"layout <name>",
|
|
546
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
552
547
|
],
|
|
553
548
|
[
|
|
554
549
|
"",
|
|
555
|
-
"
|
|
556
|
-
"
|
|
550
|
+
"png",
|
|
551
|
+
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
552
|
+
],
|
|
553
|
+
[
|
|
554
|
+
"",
|
|
555
|
+
"cycles",
|
|
556
|
+
"show cycles in the graph"
|
|
557
557
|
],
|
|
558
558
|
[
|
|
559
559
|
"j",
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"json format"
|
|
562
562
|
]
|
|
563
563
|
],
|
|
564
|
-
"description": "generate an image file with the workspace components' dependencies graph",
|
|
564
|
+
"description": "generate an SVG image file with the workspace components' dependencies graph",
|
|
565
565
|
"extendedDescription": "",
|
|
566
566
|
"group": "discover",
|
|
567
567
|
"private": false,
|
package/cli-reference.mdx
CHANGED
|
@@ -926,16 +926,16 @@ bit export => export all staged snaps/tags of components to their remote scope.
|
|
|
926
926
|
|
|
927
927
|
## graph
|
|
928
928
|
|
|
929
|
-
**Description**: generate an image file with the workspace components' dependencies graph
|
|
929
|
+
**Description**: generate an SVG image file with the workspace components' dependencies graph
|
|
930
930
|
|
|
931
931
|
`bit graph [id]`
|
|
932
932
|
|
|
933
933
|
| **Option** | **Option alias** | **Description** |
|
|
934
934
|
| ----------------------- | :--------------: | ------------------------------------------------------------------------------------------------------ |
|
|
935
|
-
| `--image <image>` | `-i` | image path and format. use one of the following extensions: [gif, png, svg, pdf] |
|
|
936
935
|
| `--remote [remoteName]` | `-r` | remote name (name is optional, leave empty when id is specified) |
|
|
937
|
-
| `--all-versions` | | enter all components versions into the graph, not only latest |
|
|
938
936
|
| `--layout <name>` | | GraphVis layout. default to "dot". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi] |
|
|
937
|
+
| `--png` | | save the graph as a png file instead of svg. requires "graphviz" to be installed |
|
|
938
|
+
| `--cycles` | | show cycles in the graph |
|
|
939
939
|
| `--json` | `-j` | json format |
|
|
940
940
|
|
|
941
941
|
---
|
package/dist/cli-reference.json
CHANGED
|
@@ -535,11 +535,6 @@
|
|
|
535
535
|
"name": "graph [id]",
|
|
536
536
|
"alias": "",
|
|
537
537
|
"options": [
|
|
538
|
-
[
|
|
539
|
-
"i",
|
|
540
|
-
"image <image>",
|
|
541
|
-
"image path and format. use one of the following extensions: [gif, png, svg, pdf]"
|
|
542
|
-
],
|
|
543
538
|
[
|
|
544
539
|
"r",
|
|
545
540
|
"remote [remoteName]",
|
|
@@ -547,13 +542,18 @@
|
|
|
547
542
|
],
|
|
548
543
|
[
|
|
549
544
|
"",
|
|
550
|
-
"
|
|
551
|
-
"
|
|
545
|
+
"layout <name>",
|
|
546
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
552
547
|
],
|
|
553
548
|
[
|
|
554
549
|
"",
|
|
555
|
-
"
|
|
556
|
-
"
|
|
550
|
+
"png",
|
|
551
|
+
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
552
|
+
],
|
|
553
|
+
[
|
|
554
|
+
"",
|
|
555
|
+
"cycles",
|
|
556
|
+
"show cycles in the graph"
|
|
557
557
|
],
|
|
558
558
|
[
|
|
559
559
|
"j",
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"json format"
|
|
562
562
|
]
|
|
563
563
|
],
|
|
564
|
-
"description": "generate an image file with the workspace components' dependencies graph",
|
|
564
|
+
"description": "generate an SVG image file with the workspace components' dependencies graph",
|
|
565
565
|
"extendedDescription": "",
|
|
566
566
|
"group": "discover",
|
|
567
567
|
"private": false,
|
|
@@ -4524,7 +4524,7 @@ function MDXContent(_ref) {
|
|
|
4524
4524
|
"align": null
|
|
4525
4525
|
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4526
4526
|
parentName: "p"
|
|
4527
|
-
}, "Description"), ": generate an image file with the workspace components' dependencies graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4527
|
+
}, "Description"), ": generate an SVG image file with the workspace components' dependencies graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4528
4528
|
parentName: "p"
|
|
4529
4529
|
}, "bit graph [id]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4530
4530
|
parentName: "table"
|
|
@@ -4554,56 +4554,54 @@ function MDXContent(_ref) {
|
|
|
4554
4554
|
"align": null
|
|
4555
4555
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4556
4556
|
parentName: "td"
|
|
4557
|
-
}, "--
|
|
4557
|
+
}, "--remote [remoteName]")), (0, _react2.mdx)("td", {
|
|
4558
4558
|
parentName: "tr",
|
|
4559
4559
|
"align": "center"
|
|
4560
4560
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4561
4561
|
parentName: "td"
|
|
4562
|
-
}, "-
|
|
4562
|
+
}, "-r")), (0, _react2.mdx)("td", {
|
|
4563
4563
|
parentName: "tr",
|
|
4564
4564
|
"align": null
|
|
4565
|
-
}, "
|
|
4565
|
+
}, "remote name (name is optional, leave empty when id is specified)")), (0, _react2.mdx)("tr", {
|
|
4566
4566
|
parentName: "tbody"
|
|
4567
4567
|
}, (0, _react2.mdx)("td", {
|
|
4568
4568
|
parentName: "tr",
|
|
4569
4569
|
"align": null
|
|
4570
4570
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4571
4571
|
parentName: "td"
|
|
4572
|
-
}, "--
|
|
4572
|
+
}, "--layout <name>")), (0, _react2.mdx)("td", {
|
|
4573
4573
|
parentName: "tr",
|
|
4574
4574
|
"align": "center"
|
|
4575
|
-
}, (0, _react2.mdx)("
|
|
4576
|
-
parentName: "td"
|
|
4577
|
-
}, "-r")), (0, _react2.mdx)("td", {
|
|
4575
|
+
}), (0, _react2.mdx)("td", {
|
|
4578
4576
|
parentName: "tr",
|
|
4579
4577
|
"align": null
|
|
4580
|
-
}, "
|
|
4578
|
+
}, "GraphVis layout. default to \"dot\". options are ", "[circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]")), (0, _react2.mdx)("tr", {
|
|
4581
4579
|
parentName: "tbody"
|
|
4582
4580
|
}, (0, _react2.mdx)("td", {
|
|
4583
4581
|
parentName: "tr",
|
|
4584
4582
|
"align": null
|
|
4585
4583
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4586
4584
|
parentName: "td"
|
|
4587
|
-
}, "--
|
|
4585
|
+
}, "--png")), (0, _react2.mdx)("td", {
|
|
4588
4586
|
parentName: "tr",
|
|
4589
4587
|
"align": "center"
|
|
4590
4588
|
}), (0, _react2.mdx)("td", {
|
|
4591
4589
|
parentName: "tr",
|
|
4592
4590
|
"align": null
|
|
4593
|
-
}, "
|
|
4591
|
+
}, "save the graph as a png file instead of svg. requires \"graphviz\" to be installed")), (0, _react2.mdx)("tr", {
|
|
4594
4592
|
parentName: "tbody"
|
|
4595
4593
|
}, (0, _react2.mdx)("td", {
|
|
4596
4594
|
parentName: "tr",
|
|
4597
4595
|
"align": null
|
|
4598
4596
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4599
4597
|
parentName: "td"
|
|
4600
|
-
}, "--
|
|
4598
|
+
}, "--cycles")), (0, _react2.mdx)("td", {
|
|
4601
4599
|
parentName: "tr",
|
|
4602
4600
|
"align": "center"
|
|
4603
4601
|
}), (0, _react2.mdx)("td", {
|
|
4604
4602
|
parentName: "tr",
|
|
4605
4603
|
"align": null
|
|
4606
|
-
}, "
|
|
4604
|
+
}, "show cycles in the graph")), (0, _react2.mdx)("tr", {
|
|
4607
4605
|
parentName: "tbody"
|
|
4608
4606
|
}, (0, _react2.mdx)("td", {
|
|
4609
4607
|
parentName: "tr",
|