Skip to main content

Module progress

Module progress 

Source
Expand description

§Progress Indicators

Shared progress display utilities for long-running CLI operations. Uses indicatif spinners and progress bars, respecting --no-color and non-TTY contexts (e.g. pipes).

§Usage

use scope::cli::progress::Spinner;

let sp = Spinner::new("Fetching address data...");
// ... do work ...
sp.finish("Address data loaded.");

Structs§

Spinner
A simple spinner for single-step or short sequential operations.
StepProgress
A counted progress bar for multi-step operations (X of Y).