rskit_cli/render/mod.rs
1//! Structured, non-interactive terminal display.
2//!
3//! Everything a command emits when it is *reporting* rather than prompting:
4//!
5//! - [`table`] — aligned [`OutputTable`]s for row/column data.
6//! - [`keyvalue`] — [`OutputKV`] blocks for headers and summaries.
7//! - [`error`] — [`OutputFormat`], the shared [`ExitCode`] convention, and an
8//! [`ErrorRenderer`] that turns an `AppError` into consistent text/JSON/YAML.
9//! - [`status`] — one-off [`StatusReporter`] feedback lines (success/warn/step/
10//! heading) for guided, multi-step flows.
11
12pub mod error;
13pub mod keyvalue;
14pub mod status;
15pub mod table;
16
17pub use error::{ErrorRenderer, ExitCode, OutputFormat};
18pub use keyvalue::OutputKV;
19pub use status::StatusReporter;
20pub use table::OutputTable;