Skip to main content

Module output

Module output 

Source
Expand description

Structured output abstraction for chant.

Provides a unified interface for outputting messages in different modes:

  • Human: Colored emoji-prefixed output for terminal display
  • Json: Structured JSON events for programmatic consumption
  • Quiet: Only errors are emitted

The Output struct auto-detects TTY for color support and can be injected with a custom writer for test capture.

Structs§

Output
Output abstraction with mode-aware formatting

Enums§

OutputMode
Output mode selection