@restormel/validate
v0.1.10
Published
Restormel Validate — open-source CLI for credential and configuration validation.
Maintainers
Readme
@restormel/validate
Restormel Validate is an open-source CLI for validating provider credentials and configuration. It is designed to be CI-friendly and to act as an entrypoint into the Restormel Platform.
Install
npx @restormel/validateOr install in a repo:
pnpm add -D @restormel/validateUsage
restormel-validateOutput formats
restormel-validate --format json
restormel-validate --format json --out validate.jsonModes / CI behavior
- Default behavior is CI-friendly: exit 1 if any known-provider key is invalid.\n- Use
--fail-on warnor--fail-on noneto relax gating.\n- Use--strictas a preset for CI (fail on invalid).
Retries and timeouts
restormel-validate --retries 2 --timeout-ms 8000Exit codes
0: all checks passed (or failures suppressed by--fail-on none)\n+-1: invalid findings (or warnings treated as failures via--fail-on warn)\n+-2: usage/config error (bad CLI usage or unexpected failure)\n+-3: transient failures only (timeouts, rate limits, 5xx) — no confirmed invalid keys
When to use which CLI
- Prefer
@restormel/validatein CI and automation (works standalone, stable exit codes).\n - If you’re already using Keys onboarding tooling, use
@restormel/keys-cli validateas a wrapper that delegates to this CLI.
