Expand description
Output formatters for CLI commands.
Provides consistent formatting across all CLI commands for JSON, text, and pretty output modes.
Modules§
- json
- JSON output formatting.
- pretty
- Pretty (human-readable) output formatting.
- text
- Plain text output formatting.
Functions§
- escape_
display - Escapes a string for safe interpolation into hand-crafted
Text/Prettyoutput lines. - escape_
error_ text - Makes
ssafe to print to a terminal or log sink that does not itself escape untrusted content. - format_
output - Format data according to the specified output format.