Expand description
Output control for quiet mode and JSON output
Provides a global quiet mode flag to suppress non-essential output.
Functions§
- is_
quiet - Check if quiet mode is enabled
- print_
info - Print a message only if not in quiet mode (non-macro version for better compatibility) Uses stderr to avoid corrupting stdout-based protocols (MCP, JSON output)
- print_
warn - Print a warning to stderr only if not in quiet mode (non-macro version)
- set_
quiet - Enable quiet mode (suppresses informational output)