Install
Authenticate
conf — ~/Library/Preferences on macOS, XDG on Linux). For CI, skip login entirely and set an env var instead:
STRATOS_API_KEY always takes priority over a stored key, so CI never depends on interactive login having happened.
Every command
--json for raw output you can pipe into jq. Human-readable output is the default.
Exit codes
0 on success, 1 on any API or usage error (message goes to stderr). Safe to check $? in scripts without parsing output.
The one command that asks for confirmation
--yes. This isn’t a client-side nicety layered on top — mode: "publish" posts live with no draft/review step, and the CLI won’t let that happen from a bare command a script could run by accident. Add --yes once you mean it.