Commands
Open-source local commands plus Cloud bridge. Non-interactive flags first. Stable exit codes for CI and agents.
Global options
| Option | Description |
|---|---|
| --quiet | Hide progress on stderr (also hides Cloud/API tips) |
| --verbose | Show npm and verification output |
| --no-color | Disable ANSI colors (also respects NO_COLOR) |
Progress goes to stderr. JSON results stay on stdout for clean pipelines. Text mode prints a tip for Cloud API, SDK, and MCP after scan/fix.
Open-source — eridas scan
Read-only scan of the npm dependency tree against OSV. No Cloud account required.
eridas scan .
eridas scan . --severity high
eridas scan . --format json
eridas scan . --ai
eridas scan . --quiet --format json| Option | Description |
|---|---|
| --severity <level> | unknown, low, moderate, high, critical |
| --format <format> | text (default) or json |
| --ai | Optional AI explanations for confirmed findings |
Open-source — eridas fix
Plan-first remediation for direct dependencies.
eridas fix . --dry-run
eridas fix . --dry-run --format json
eridas fix .
eridas fix . --yes
eridas fix . --force --allow-major| Option | Description |
|---|---|
| --dry-run | Print the plan only |
| --yes | Apply without prompting (preferred for agents/CI) |
| --force | Unattended apply; integrity checks still run |
| --allow-major | Permit planned major-version bumps |
Open-source — eridas init
Generate scheduled GitHub automation and a starter config.
eridas init .
eridas init . --mode fix --schedule "0 9 * * 1"
eridas init . --forceCloud — eridas auth
Store an API key (erd_…) for Eridas Cloud. Never put keys in eridas.config.json.
eridas auth login
eridas auth whoami --format json
eridas auth logoutCloud — eridas cloud
Drive GitHub-connected repos via the Cloud API (same surface as @eridas/cloud-sdk).
eridas cloud repos
eridas cloud repos --sync --format json
eridas cloud scan --repo-id <uuid> --wait --format json
eridas cloud findings --repo-id <uuid>
eridas cloud remediate --repo-id <uuid> --wait
eridas cloud status --repo-id <uuid>Exit codes
| Code | Meaning |
|---|---|
| 0 | Clean / success |
| 1 | Findings remain |
| 2 | Operational error |
| 3 | Interactive fix approval declined |