ui
UI rendering and style infrastructure.
| Name | Summary |
|---|---|
components |
Reusable UI components for terminal output. Reusable UI components organized by granularity (atoms, molecules, views). |
envelope |
JSON envelope wrapping domain entities with sidecar data. JSON envelope wrapping domain entities with their sidecar data. |
json |
Shared output-mode (--json/--quiet/--raw) flags for command structs. Shared output-mode helpers for --json and --quiet flags. |
markdown |
Markdown-to-styled-terminal renderer. Markdown-to-styled-terminal renderer. |
style |
Semantic style tokens and theme resolution. Semantic style tokens and theme resolution. |
fn init
pub fn init()Initialize the UI subsystem by enabling colored output when stdout is a TTY
or when CLICOLOR_FORCE is set (a common convention honored by many CLIs).