@herodevs/cli 1.3.0-beta.1 → 1.4.0-beta.1
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/README.md +44 -5
- package/package.json +18 -3
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ $ npm install -g @herodevs/cli
|
|
|
16
16
|
$ hd COMMAND
|
|
17
17
|
running command...
|
|
18
18
|
$ hd (--version)
|
|
19
|
-
@herodevs/cli/1.
|
|
19
|
+
@herodevs/cli/1.4.0-beta.1 linux-x64 node-v22.14.0
|
|
20
20
|
$ hd --help [COMMAND]
|
|
21
21
|
USAGE
|
|
22
22
|
$ hd COMMAND
|
|
@@ -30,6 +30,7 @@ USAGE
|
|
|
30
30
|
* [`hd report purls`](#hd-report-purls)
|
|
31
31
|
* [`hd scan eol`](#hd-scan-eol)
|
|
32
32
|
* [`hd scan sbom`](#hd-scan-sbom)
|
|
33
|
+
* [`hd update [CHANNEL]`](#hd-update-channel)
|
|
33
34
|
|
|
34
35
|
## `hd help [COMMAND]`
|
|
35
36
|
|
|
@@ -80,7 +81,7 @@ EXAMPLES
|
|
|
80
81
|
$ hd report committers --csv
|
|
81
82
|
```
|
|
82
83
|
|
|
83
|
-
_See code: [src/commands/report/committers.ts](https://github.com/herodevs/cli/blob/v1.
|
|
84
|
+
_See code: [src/commands/report/committers.ts](https://github.com/herodevs/cli/blob/v1.4.0-beta.1/src/commands/report/committers.ts)_
|
|
84
85
|
|
|
85
86
|
## `hd report purls`
|
|
86
87
|
|
|
@@ -114,7 +115,7 @@ EXAMPLES
|
|
|
114
115
|
$ hd report purls --save --csv
|
|
115
116
|
```
|
|
116
117
|
|
|
117
|
-
_See code: [src/commands/report/purls.ts](https://github.com/herodevs/cli/blob/v1.
|
|
118
|
+
_See code: [src/commands/report/purls.ts](https://github.com/herodevs/cli/blob/v1.4.0-beta.1/src/commands/report/purls.ts)_
|
|
118
119
|
|
|
119
120
|
## `hd scan eol`
|
|
120
121
|
|
|
@@ -148,7 +149,7 @@ EXAMPLES
|
|
|
148
149
|
$ hd scan eol -a --dir=./my-project
|
|
149
150
|
```
|
|
150
151
|
|
|
151
|
-
_See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v1.
|
|
152
|
+
_See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v1.4.0-beta.1/src/commands/scan/eol.ts)_
|
|
152
153
|
|
|
153
154
|
## `hd scan sbom`
|
|
154
155
|
|
|
@@ -176,5 +177,43 @@ EXAMPLES
|
|
|
176
177
|
$ hd scan sbom --file=path/to/sbom.json
|
|
177
178
|
```
|
|
178
179
|
|
|
179
|
-
_See code: [src/commands/scan/sbom.ts](https://github.com/herodevs/cli/blob/v1.
|
|
180
|
+
_See code: [src/commands/scan/sbom.ts](https://github.com/herodevs/cli/blob/v1.4.0-beta.1/src/commands/scan/sbom.ts)_
|
|
181
|
+
|
|
182
|
+
## `hd update [CHANNEL]`
|
|
183
|
+
|
|
184
|
+
update the hd CLI
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
USAGE
|
|
188
|
+
$ hd update [CHANNEL] [--force | | [-a | -v <value> | -i]] [-b ]
|
|
189
|
+
|
|
190
|
+
FLAGS
|
|
191
|
+
-a, --available See available versions.
|
|
192
|
+
-b, --verbose Show more details about the available versions.
|
|
193
|
+
-i, --interactive Interactively select version to install. This is ignored if a channel is provided.
|
|
194
|
+
-v, --version=<value> Install a specific version.
|
|
195
|
+
--force Force a re-download of the requested version.
|
|
196
|
+
|
|
197
|
+
DESCRIPTION
|
|
198
|
+
update the hd CLI
|
|
199
|
+
|
|
200
|
+
EXAMPLES
|
|
201
|
+
Update to the stable channel:
|
|
202
|
+
|
|
203
|
+
$ hd update stable
|
|
204
|
+
|
|
205
|
+
Update to a specific version:
|
|
206
|
+
|
|
207
|
+
$ hd update --version 1.0.0
|
|
208
|
+
|
|
209
|
+
Interactively select version:
|
|
210
|
+
|
|
211
|
+
$ hd update --interactive
|
|
212
|
+
|
|
213
|
+
See available versions:
|
|
214
|
+
|
|
215
|
+
$ hd update --available
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v4.6.36/src/commands/update.ts)_
|
|
180
219
|
<!-- commandsstop -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herodevs/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-beta.1",
|
|
4
4
|
"author": "HeroDevs, Inc",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hd": "./bin/run.js"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"@cyclonedx/cdxgen": "^11.2.3",
|
|
42
42
|
"@oclif/core": "^4",
|
|
43
43
|
"@oclif/plugin-help": "^6",
|
|
44
|
+
"@oclif/plugin-update": "^4",
|
|
44
45
|
"graphql": "^16.8.1"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
@@ -73,12 +74,26 @@
|
|
|
73
74
|
"commands": "./dist/commands",
|
|
74
75
|
"plugins": [
|
|
75
76
|
"@oclif/plugin-help",
|
|
76
|
-
"@oclif/plugin-plugins"
|
|
77
|
+
"@oclif/plugin-plugins",
|
|
78
|
+
"@oclif/plugin-update"
|
|
77
79
|
],
|
|
78
80
|
"hooks": {
|
|
79
81
|
"prerun": "./dist/hooks/prerun.js"
|
|
80
82
|
},
|
|
81
|
-
"topicSeparator": " "
|
|
83
|
+
"topicSeparator": " ",
|
|
84
|
+
"macos": {
|
|
85
|
+
"identifier": "com.herodevs.cli"
|
|
86
|
+
},
|
|
87
|
+
"win": {
|
|
88
|
+
"icon": "assets/icon.ico"
|
|
89
|
+
},
|
|
90
|
+
"update": {
|
|
91
|
+
"s3": {
|
|
92
|
+
"bucket": "end-of-life-dataset-cli-releases",
|
|
93
|
+
"host": "https://end-of-life-dataset-cli-releases.s3.amazonaws.com",
|
|
94
|
+
"acl": "bucket-owner-full-control"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
82
97
|
},
|
|
83
98
|
"types": "dist/index.d.ts"
|
|
84
99
|
}
|