Skip to main content

Module output

Module output 

Source
Expand description

Output-mode and presentation enums shared across the crate. Output-mode enums shared across config parsing, CLI flags, and the UI.

These types exist so the rest of the crate can talk about rendering intent without passing around raw strings. They define the stable vocabulary for format, richness, color, and unicode behavior.

Contract:

  • these enums should stay small and broadly reusable
  • parsing here should accept the user-facing spellings supported by config and CLI flags
  • higher-level modules may interpret Auto, but the canonical labels live here

Enumsยง

ColorMode
Color handling policy for rendered output.
OutputFormat
Supported output formats for rendered command results.
RenderMode
Rendering mode preference for terminal output.
UnicodeMode
Unicode handling policy for rendered output.