Exit codes
| Code | Name | Meaning |
|---|---|---|
| 0 | ok | The command finished. With --fail-on, nothing matched. |
| 1 | error | The command failed: a read, a write, a child process or a check failed. |
| 2 | usage | Wrong usage: an unknown command or flag, a bad value or argument, an invalid config file, or a prompt with no terminal. |
| 3 | findings | A --fail-on gate matched. The report is still written. |
| 4 | auth | Credentials were missing or rejected for every source the command needed. |
| 130 | interrupted | Interrupted by Ctrl-C (SIGINT) or a cancelled context. |
When more than one applies, the first error decides the code. A --fail-on match (3) is reported after the report is written.