CLI reference/Configuration and behavior
Output and scripting
Readable tables in a terminal, JSON for scripts, and confirmations for production.
- In a terminal, commands print colored tables and ask before risky changes. When output is piped, colors turn off.
--jsonprints machine-readable output on every command that returns data.- Writes to a production environment show a red banner and ask you to type the project name. In scripts, pass
--yes. An organization can block CLI writes to production entirely. - Every error says how to fix it, for example
Not logged in. Run: clavis login.
Examples
sh
clavis secrets ls --json | jq .