Skip to main content

Module exit_code

Module exit_code 

Source
Expand description

Process exit codes, so scripts and CI can branch on the outcome.

These are part of the tool’s contract and are documented in docs/CLI_REFERENCE.md; changing one is a breaking change.

Constants§

FAILURE
The command failed. The reason is on stderr.
OK
The command did what it was asked to do. A prune that deleted nothing because nothing was idle is still a success.
USAGE
The arguments were not usable. Emitted by clap, listed here so the set is complete.