Skip to main content

Module cli

Module cli 

Source
Expand description

Terminal-display layer for CLI output.

Renders human-facing status, tables, and progress to stderr/stdout through CliService and the Display trait. This is one of the sanctioned println!/write!-to-stdio sinks; it deliberately does not route through tracing. Themed colour and iconography live in theme.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Re-exports§

pub use display::Display;
pub use display::DisplayUtils;
pub use startup::render_phase_header;
pub use startup::render_phase_info;
pub use startup::render_phase_success;
pub use startup::render_phase_warning;
pub use startup::render_startup_banner;
pub use table::ServiceTableEntry;
pub use table::render_service_table;
pub use table::render_startup_complete;
pub use table::render_table;
pub use theme::ActionType;
pub use theme::BrandColors;
pub use theme::ColorType;
pub use theme::Colors;
pub use theme::EmphasisType;
pub use theme::IconType;
pub use theme::Icons;
pub use theme::ItemStatus;
pub use theme::MessageLevel;
pub use theme::ModuleType;
pub use theme::ServiceStatus;
pub use theme::Theme;

Modules§

display
Display primitives for CLI output.
startup
Startup-phase console rendering for the CLI sink.
table
Box-drawing table renderers for CLI output.
theme
Colour, icon, and styling primitives for CLI output.

Structs§

CliService