@teambit/harmony.content.cli-reference 2.0.216 → 2.0.217

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,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.101'
2
+ description: 'Bit command synopses. Bit version: 1.6.102'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -909,16 +909,6 @@
909
909
  "name": "graph <component-id>",
910
910
  "alias": "",
911
911
  "options": [
912
- [
913
- "p",
914
- "graph-path <image>",
915
- "image path and format. use one of the following extensions: [gif, png, svg]. default to png in the os tmp dir"
916
- ],
917
- [
918
- "l",
919
- "layout <name>",
920
- "GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
921
- ],
922
912
  [
923
913
  "s",
924
914
  "short-hash",
@@ -928,9 +918,19 @@
928
918
  "m",
929
919
  "mark <string>",
930
920
  "paint the given node-ids in the graph in red color, for multiple, separate by commas"
921
+ ],
922
+ [
923
+ "",
924
+ "png",
925
+ "save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
926
+ ],
927
+ [
928
+ "l",
929
+ "layout <name>",
930
+ "GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
931
931
  ]
932
932
  ],
933
- "description": "generate a graph of the version history of a component. GraphVis must be installed",
933
+ "description": "generate a graph of the version history of a component and save as an SVG file",
934
934
  "extendedDescription": "",
935
935
  "group": "info",
936
936
  "private": false
@@ -4780,7 +4780,7 @@
4780
4780
  ]
4781
4781
  ],
4782
4782
  "description": "update dependencies for components and tag/snap the results",
4783
- "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the update.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies: string[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
4783
+ "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the update.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies: string[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n versionToSnap?: string; // specific hash to snap\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
4784
4784
  "group": "development",
4785
4785
  "private": true
4786
4786
  },
package/cli-reference.mdx CHANGED
@@ -2125,14 +2125,14 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
2125
2125
 
2126
2126
  **Usage**: `version-history graph <component-id>`
2127
2127
 
2128
- **Description**: generate a graph of the version history of a component. GraphVis must be installed
2129
-
2130
- | **Option** | **Option alias** | **Description** |
2131
- | ---------------------- | :--------------: | ------------------------------------------------------------------------------------------------------------- |
2132
- | `--graph-path <image>` | `-p` | image path and format. use one of the following extensions: [gif, png, svg]. default to png in the os tmp dir |
2133
- | `--layout <name>` | `-l` | GraphVis layout. default to "dot". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi] |
2134
- | `--short-hash` | `-s` | show only 9 chars of the hash |
2135
- | `--mark <string>` | `-m` | paint the given node-ids in the graph in red color, for multiple, separate by commas |
2128
+ **Description**: generate a graph of the version history of a component and save as an SVG file
2129
+
2130
+ | **Option** | **Option alias** | **Description** |
2131
+ | ----------------- | :--------------: | ------------------------------------------------------------------------------------------------------ |
2132
+ | `--short-hash` | `-s` | show only 9 chars of the hash |
2133
+ | `--mark <string>` | `-m` | paint the given node-ids in the graph in red color, for multiple, separate by commas |
2134
+ | `--png` | | save the graph as a png file instead of svg. requires "graphviz" to be installed |
2135
+ | `--layout <name>` | `-l` | GraphVis layout. default to "dot". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi] |
2136
2136
 
2137
2137
  ### version-history show
2138
2138
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.101'
2
+ description: 'Bit command synopses. Bit version: 1.6.102'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -909,16 +909,6 @@
909
909
  "name": "graph <component-id>",
910
910
  "alias": "",
911
911
  "options": [
912
- [
913
- "p",
914
- "graph-path <image>",
915
- "image path and format. use one of the following extensions: [gif, png, svg]. default to png in the os tmp dir"
916
- ],
917
- [
918
- "l",
919
- "layout <name>",
920
- "GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
921
- ],
922
912
  [
923
913
  "s",
924
914
  "short-hash",
@@ -928,9 +918,19 @@
928
918
  "m",
929
919
  "mark <string>",
930
920
  "paint the given node-ids in the graph in red color, for multiple, separate by commas"
921
+ ],
922
+ [
923
+ "",
924
+ "png",
925
+ "save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
926
+ ],
927
+ [
928
+ "l",
929
+ "layout <name>",
930
+ "GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
931
931
  ]
932
932
  ],
933
- "description": "generate a graph of the version history of a component. GraphVis must be installed",
933
+ "description": "generate a graph of the version history of a component and save as an SVG file",
934
934
  "extendedDescription": "",
935
935
  "group": "info",
936
936
  "private": false
@@ -4780,7 +4780,7 @@
4780
4780
  ]
4781
4781
  ],
4782
4782
  "description": "update dependencies for components and tag/snap the results",
4783
- "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the update.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies: string[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
4783
+ "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the update.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies: string[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n versionToSnap?: string; // specific hash to snap\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
4784
4784
  "group": "development",
4785
4785
  "private": true
4786
4786
  },
@@ -11017,7 +11017,7 @@ function MDXContent(_ref) {
11017
11017
  parentName: "p"
11018
11018
  }, "version-history graph <component-id>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
11019
11019
  parentName: "p"
11020
- }, "Description"), ": generate a graph of the version history of a component. GraphVis must be installed"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
11020
+ }, "Description"), ": generate a graph of the version history of a component and save as an SVG file"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
11021
11021
  parentName: "table"
11022
11022
  }, (0, _react2.mdx)("tr", {
11023
11023
  parentName: "thead"
@@ -11045,60 +11045,58 @@ function MDXContent(_ref) {
11045
11045
  "align": null
11046
11046
  }, (0, _react2.mdx)("inlineCode", {
11047
11047
  parentName: "td"
11048
- }, "--graph-path <image>")), (0, _react2.mdx)("td", {
11048
+ }, "--short-hash")), (0, _react2.mdx)("td", {
11049
11049
  parentName: "tr",
11050
11050
  "align": "center"
11051
11051
  }, (0, _react2.mdx)("inlineCode", {
11052
11052
  parentName: "td"
11053
- }, "-p")), (0, _react2.mdx)("td", {
11053
+ }, "-s")), (0, _react2.mdx)("td", {
11054
11054
  parentName: "tr",
11055
11055
  "align": null
11056
- }, "image path and format. use one of the following extensions: ", "[gif, png, svg]", ". default to png in the os tmp dir")), (0, _react2.mdx)("tr", {
11056
+ }, "show only 9 chars of the hash")), (0, _react2.mdx)("tr", {
11057
11057
  parentName: "tbody"
11058
11058
  }, (0, _react2.mdx)("td", {
11059
11059
  parentName: "tr",
11060
11060
  "align": null
11061
11061
  }, (0, _react2.mdx)("inlineCode", {
11062
11062
  parentName: "td"
11063
- }, "--layout <name>")), (0, _react2.mdx)("td", {
11063
+ }, "--mark <string>")), (0, _react2.mdx)("td", {
11064
11064
  parentName: "tr",
11065
11065
  "align": "center"
11066
11066
  }, (0, _react2.mdx)("inlineCode", {
11067
11067
  parentName: "td"
11068
- }, "-l")), (0, _react2.mdx)("td", {
11068
+ }, "-m")), (0, _react2.mdx)("td", {
11069
11069
  parentName: "tr",
11070
11070
  "align": null
11071
- }, "GraphVis layout. default to \"dot\". options are ", "[circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]")), (0, _react2.mdx)("tr", {
11071
+ }, "paint the given node-ids in the graph in red color, for multiple, separate by commas")), (0, _react2.mdx)("tr", {
11072
11072
  parentName: "tbody"
11073
11073
  }, (0, _react2.mdx)("td", {
11074
11074
  parentName: "tr",
11075
11075
  "align": null
11076
11076
  }, (0, _react2.mdx)("inlineCode", {
11077
11077
  parentName: "td"
11078
- }, "--short-hash")), (0, _react2.mdx)("td", {
11078
+ }, "--png")), (0, _react2.mdx)("td", {
11079
11079
  parentName: "tr",
11080
11080
  "align": "center"
11081
- }, (0, _react2.mdx)("inlineCode", {
11082
- parentName: "td"
11083
- }, "-s")), (0, _react2.mdx)("td", {
11081
+ }), (0, _react2.mdx)("td", {
11084
11082
  parentName: "tr",
11085
11083
  "align": null
11086
- }, "show only 9 chars of the hash")), (0, _react2.mdx)("tr", {
11084
+ }, "save the graph as a png file instead of svg. requires \"graphviz\" to be installed")), (0, _react2.mdx)("tr", {
11087
11085
  parentName: "tbody"
11088
11086
  }, (0, _react2.mdx)("td", {
11089
11087
  parentName: "tr",
11090
11088
  "align": null
11091
11089
  }, (0, _react2.mdx)("inlineCode", {
11092
11090
  parentName: "td"
11093
- }, "--mark <string>")), (0, _react2.mdx)("td", {
11091
+ }, "--layout <name>")), (0, _react2.mdx)("td", {
11094
11092
  parentName: "tr",
11095
11093
  "align": "center"
11096
11094
  }, (0, _react2.mdx)("inlineCode", {
11097
11095
  parentName: "td"
11098
- }, "-m")), (0, _react2.mdx)("td", {
11096
+ }, "-l")), (0, _react2.mdx)("td", {
11099
11097
  parentName: "tr",
11100
11098
  "align": null
11101
- }, "paint the given node-ids in the graph in red color, for multiple, separate by commas")))), (0, _react2.mdx)("h3", null, "version-history show"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
11099
+ }, "GraphVis layout. default to \"dot\". options are ", "[circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]")))), (0, _react2.mdx)("h3", null, "version-history show"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
11102
11100
  parentName: "p"
11103
11101
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
11104
11102
  parentName: "p"