Skip to main content

Install

Authenticate

The key is stored in your OS’s standard config directory (via 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

Every command accepts --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

fails immediately with a message telling you to add --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.