CLI reference/Configuration and behavior
Exit codes
Stable exit codes, so scripts and CI can react to what went wrong.
| Code | Meaning |
|---|---|
0 | Success |
1 | General error |
2 | Wrong usage: unknown flag, missing argument |
3 | Not signed in, or the token expired. Run clavis login. |
4 | Signed in, but not allowed to do this |
5 | Not found: organization, project, environment or key |
6 | Validation failed (clavis check) |
7 | Leak found (clavis scan) |
clavis run and clavis lease run exit with your command's own exit code.