Expand description
Output formatting infrastructure for the openlatch CLI.
OutputConfig is the single source of truth for how any command should
produce output. It captures format (human vs JSON), verbosity, debug, quiet,
and color settings, and provides helper methods that apply the correct output
strategy for each case.
§Design rules
- D-01:
print_stepemits checkmark-prefixed lines in human mode; silent in JSON mode - D-04:
print_substepis indented below a parent step (bullet point) - CLI-11: Progress spinners write to stderr, not stdout
- T-02-04:
--debugmode never prints tokens or secrets
Structs§
- Output
Config - Resolved output configuration for a CLI invocation.
Enums§
- Output
Format - Output format selection.