@herodevs/cli 2.0.0-beta.16 → 2.0.0-beta.17

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.
Files changed (3) hide show
  1. package/README.md +0 -12
  2. package/bin/main.js +2 -6
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -38,18 +38,6 @@ npx @herodevs/cli@beta
38
38
  npm install -g @herodevs/cli@beta
39
39
  ```
40
40
 
41
- #### Binary Installation
42
-
43
- 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:
44
-
45
- ```sh
46
- curl -o- https://raw.githubusercontent.com/herodevs/cli/v2.0.0-beta.16/scripts/install.sh | bash
47
- ```
48
-
49
- ```sh
50
- wget -qO- https://raw.githubusercontent.com/herodevs/cli/v2.0.0-beta.16/scripts/install.sh | bash
51
- ```
52
-
53
41
  ## Scanning Behavior
54
42
 
55
43
  The CLI is designed to be non-invasive:
package/bin/main.js CHANGED
@@ -7,13 +7,9 @@ async function main(isProduction = false) {
7
7
  strict: false, // Don't validate flags
8
8
  });
9
9
 
10
- // If no arguments at all, default to scan:eol
10
+ // If no arguments at all, default to help
11
11
  if (positionals.length === 0) {
12
- process.argv.splice(2, 0, 'scan:eol');
13
- }
14
- // If only flags are provided, set scan:eol as the command for those flags
15
- else if (positionals.length === 1 && positionals[0].startsWith('-')) {
16
- process.argv.splice(2, 0, 'scan:eol');
12
+ process.argv.splice(2, 0, 'help');
17
13
  }
18
14
 
19
15
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herodevs/cli",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.17",
4
4
  "author": "HeroDevs, Inc",
5
5
  "bin": {
6
6
  "hd": "./bin/run.js"
@@ -45,7 +45,7 @@
45
45
  "@amplitude/analytics-node": "^1.5.26",
46
46
  "@apollo/client": "^4.0.9",
47
47
  "@cyclonedx/cdxgen": "^12.1.1",
48
- "@herodevs/eol-shared": "github:herodevs/eol-shared#v0.1.17",
48
+ "@herodevs/eol-shared": "github:herodevs/eol-shared#v0.1.18",
49
49
  "@inquirer/prompts": "^8.0.2",
50
50
  "@napi-rs/keyring": "^1.2.0",
51
51
  "@oclif/core": "^4.8.0",