rskit-cli 0.1.0-alpha.1

CLI framework: progress bars, structured output, signal handling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! CLI framework: progress bars, structured output, signal handling.
//!
//! Provides terminal progress bars (over indicatif), structured output
//! formatting, and Ctrl+C cancellation via [`CancellationToken`].
//!
//! # Modules
//!
//! - [`signal`] — Ctrl+C / graceful shutdown via `CancellationToken`
//! - [`progress`] — Progress bar abstractions over `indicatif`
//! - [`output`] — Structured terminal output (tables, key-value)

pub mod output;
pub mod progress;
pub mod signal;

pub use output::{ErrorRenderer, ExitCode, OutputFormat, OutputKV, OutputTable};
pub use progress::{MultiProgress, ProgressBar, ProgressStyle};
pub use signal::CancellationToken;