CLI · 12

Exit codes

cosmo uses a small, conventional set of exit codes so CI scripts and shell pipelines stay predictable.

# cosmo commands use a small, conventional set of exit codes:

  0    Success.
  1    Operational / validation failure   # raised via SystemExit(1)
  2    Invalid usage / arguments          # bad flags (from Click)
  130  Interrupted by Ctrl-C              # standard POSIX SIGINT

Have a feature in mind?

The protocol, SDKs, and CLI are still pre-1.0. If something here is missing, ambiguous, or wrong - open an issue and propose a change. Every breaking change is debated in DECISIONS.md first.