Skip to content

Commit 3df42ba

Browse files
committed
chore: release 2.0.2
1 parent 5e1fce6 commit 3df42ba

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ npm install -g @herodevs/cli
4343
HeroDevs CLI is available as a binary installation, without requiring `npm`. To do that, you may either download and run the script manually, or use the following cURL or Wget command:
4444

4545
```sh
46-
curl -o- https://raw.githubusercontent.com/herodevs/cli/v2.0.1/scripts/install.sh | bash
46+
curl -o- https://raw.githubusercontent.com/herodevs/cli/v2.0.2/scripts/install.sh | bash
4747
```
4848

4949
```sh
50-
wget -qO- https://raw.githubusercontent.com/herodevs/cli/v2.0.1/scripts/install.sh | bash
50+
wget -qO- https://raw.githubusercontent.com/herodevs/cli/v2.0.2/scripts/install.sh | bash
5151
```
5252

5353
## Scanning Behavior
@@ -71,8 +71,8 @@ Maven and Gradle projects should run an install and build before scanning
7171
$ npm install -g @herodevs/cli
7272
$ hd COMMAND
7373
running command...
74-
$ hd (--version)
75-
@herodevs/cli/2.0.0 darwin-arm64 node-v24.10.0
74+
$ hd (--version|-v)
75+
@herodevs/cli/2.0.2 darwin-arm64 node-v24.14.0
7676
$ hd --help [COMMAND]
7777
USAGE
7878
$ hd COMMAND
@@ -104,7 +104,7 @@ DESCRIPTION
104104
OAuth CLI login
105105
```
106106

107-
_See code: [src/commands/auth/login.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.16/src/commands/auth/login.ts)_
107+
_See code: [src/commands/auth/login.ts](https://github.com/herodevs/cli/blob/v2.0.2/src/commands/auth/login.ts)_
108108

109109
## `hd auth logout`
110110

@@ -118,7 +118,7 @@ DESCRIPTION
118118
Logs out of HeroDevs OAuth and clears stored tokens
119119
```
120120

121-
_See code: [src/commands/auth/logout.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.16/src/commands/auth/logout.ts)_
121+
_See code: [src/commands/auth/logout.ts](https://github.com/herodevs/cli/blob/v2.0.2/src/commands/auth/logout.ts)_
122122

123123
## `hd auth provision-ci-token`
124124

@@ -132,7 +132,7 @@ DESCRIPTION
132132
Provision a CI/CD long-lived refresh token for headless auth
133133
```
134134

135-
_See code: [src/commands/auth/provision-ci-token.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.16/src/commands/auth/provision-ci-token.ts)_
135+
_See code: [src/commands/auth/provision-ci-token.ts](https://github.com/herodevs/cli/blob/v2.0.2/src/commands/auth/provision-ci-token.ts)_
136136

137137
## `hd help [COMMAND]`
138138

@@ -166,10 +166,10 @@ USAGE
166166
FLAGS
167167
-c, --csv Output in CSV format
168168
-d, --directory=<value> Directory to search
169-
-e, --afterDate=<value> [default: 2025-02-26] Start date (format: yyyy-MM-dd)
169+
-e, --afterDate=<value> [default: 2025-03-06] Start date (format: yyyy-MM-dd)
170170
-m, --months=<value> [default: 12] The number of months of git history to review. Cannot be used along beforeDate
171171
and afterDate
172-
-s, --beforeDate=<value> [default: 2026-02-26] End date (format: yyyy-MM-dd)
172+
-s, --beforeDate=<value> [default: 2026-03-06] End date (format: yyyy-MM-dd)
173173
-s, --save Save the committers report as herodevs.committers.<output>
174174
-x, --exclude=<value>... Path Exclusions (eg -x="./src/bin" -x="./dist")
175175
--json Output to JSON format
@@ -188,7 +188,7 @@ EXAMPLES
188188
$ hd report committers --csv
189189
```
190190

191-
_See code: [src/commands/report/committers.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.16/src/commands/report/committers.ts)_
191+
_See code: [src/commands/report/committers.ts](https://github.com/herodevs/cli/blob/v2.0.2/src/commands/report/committers.ts)_
192192

193193
## `hd scan eol`
194194

@@ -239,7 +239,7 @@ EXAMPLES
239239
$ hd scan eol --json
240240
```
241241

242-
_See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.16/src/commands/scan/eol.ts)_
242+
_See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v2.0.2/src/commands/scan/eol.ts)_
243243

244244
## `hd tracker init`
245245

@@ -273,7 +273,7 @@ EXAMPLES
273273
$ hd tracker init -o
274274
```
275275

276-
_See code: [src/commands/tracker/init.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.16/src/commands/tracker/init.ts)_
276+
_See code: [src/commands/tracker/init.ts](https://github.com/herodevs/cli/blob/v2.0.2/src/commands/tracker/init.ts)_
277277

278278
## `hd tracker run`
279279

@@ -298,7 +298,7 @@ EXAMPLES
298298
$ hd tracker run -d tracker -f settings.json
299299
```
300300

301-
_See code: [src/commands/tracker/run.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.16/src/commands/tracker/run.ts)_
301+
_See code: [src/commands/tracker/run.ts](https://github.com/herodevs/cli/blob/v2.0.2/src/commands/tracker/run.ts)_
302302

303303
## `hd update [CHANNEL]`
304304

@@ -327,7 +327,7 @@ EXAMPLES
327327
328328
Update to a specific version:
329329
330-
$ hd update --version 1.0.0
330+
$ hd update --version 2.0.0
331331
332332
Interactively select version:
333333
@@ -400,7 +400,7 @@ eol-scan:
400400
- herodevs.report.json
401401
```
402402

403-
### Using the Docker Image (Recommended)
403+
### Using the Docker Image
404404

405405
We provide a Docker image that's pre-configured to run EOL scans. Based on [`cdxgen`](https://github.com/CycloneDX/cdxgen),
406406
it contains build tools for most project types and will provide best results when generating an SBOM. Use these templates to generate a report and save it to your CI job artifact for analysis and processing after your scan runs.

ci/image.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ENV NODE_NO_WARNINGS=1 \
33
NPM_CONFIG_UPDATE_NOTIFIER=false \
44
NPM_CONFIG_LOGLEVEL=error
55
WORKDIR /app
6-
ARG VERSION=2.0.1
6+
ARG VERSION=2.0.2
77
USER root
88
RUN npm install -g @herodevs/cli@${VERSION}
99
COPY --chmod=755 ci/docker-entrypoint.sh /usr/local/bin/hd-entrypoint

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@herodevs/cli",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"author": "HeroDevs, Inc",
55
"bin": {
66
"hd": "./bin/run.js"
@@ -97,7 +97,9 @@
9797
"license": "MIT",
9898
"main": "dist/index.js",
9999
"oclif": {
100-
"additionalVersionFlags": ["-v"],
100+
"additionalVersionFlags": [
101+
"-v"
102+
],
101103
"bin": "hd",
102104
"dirname": "hd",
103105
"commands": "./dist/commands",

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ INSTALL_DIR="$HOME/.herodevs"
3232
BIN_DIR="$INSTALL_DIR/bin"
3333
GITHUB_API_URL="https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/releases"
3434
TMP_DIR=""
35-
LATEST_VERSION="v2.0.1"
35+
LATEST_VERSION="v2.0.2"
3636
DEBUG=${DEBUG:-}
3737

3838
# Colors for output

src/commands/scan/eol.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export default class ScanEol extends Command {
8282
default: false,
8383
description: 'Mark scan as automated (for CI/CD pipelines)',
8484
}),
85-
version: Flags.version(),
8685
};
8786

8887
public async run(): Promise<EolReport | undefined> {

0 commit comments

Comments
 (0)