What do the ClearRun CLI exit codes mean?
There are two. 0 means every input passed (or every verdict id verified). 1 means something failed: a gate, a lookup, a request, or the command itself.
Last updated
Exit 0
clearrun score: every input was scored and passed anythresholdandmaxIssues.clearrun verify: every id verified.--help,--version,login,logout,whoamiwhen they succeed.
Exit 1
- An input scored below
threshold, had no score with a threshold set, or had too many issues. - A request failed: no key, a bad key, no credits, a rate limit, or a network error.
- A verdict id did not verify.
- A usage error, such as an unknown option or a bad config file.
Tell failures apart
Use --json. Gate failures are in failures. Call failures are in error.