Skip to main content

systemprompt_logging/services/cli/
mod.rs

1//! Terminal-display layer for CLI output.
2//!
3//! Renders human-facing status, tables, and progress to stderr/stdout through
4//! [`CliService`] and the [`Display`] trait. This is one of the sanctioned
5//! `println!`/`write!`-to-stdio sinks; it deliberately does not route through
6//! `tracing`. Themed colour and iconography live in [`theme`].
7//!
8//! Copyright (c) systemprompt.io — Business Source License 1.1.
9//! See <https://systemprompt.io> for licensing details.
10
11mod banners;
12pub mod display;
13mod macros;
14mod service;
15pub mod startup;
16pub mod table;
17pub mod theme;
18mod types;
19
20pub use display::{Display, DisplayUtils};
21pub use service::CliService;
22pub use startup::{
23    render_phase_header, render_phase_info, render_phase_success, render_phase_warning,
24    render_startup_banner,
25};
26pub use table::{ServiceTableEntry, render_service_table, render_startup_complete, render_table};
27pub use theme::{
28    ActionType, BrandColors, ColorType, Colors, EmphasisType, IconType, Icons, ItemStatus,
29    MessageLevel, ModuleType, ServiceStatus, Theme,
30};
31
32use super::output;