Skip to main content

Crate rskit_cli

Crate rskit_cli 

Source
Expand description

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)

Re-exports§

pub use output::ErrorRenderer;
pub use output::ExitCode;
pub use output::OutputFormat;
pub use output::OutputKV;
pub use output::OutputTable;
pub use progress::MultiProgress;
pub use progress::ProgressBar;
pub use progress::ProgressStyle;
pub use signal::on_ctrl_c;

Modules§

output
Structured terminal output — tables and key-value displays.
progress
Progress bar abstractions over indicatif.
signal
Ctrl+C / graceful shutdown over tokio_util::sync::CancellationToken.

Structs§

CancellationToken
A token which can be used to signal a cancellation request to one or more tasks.