You are browsing as a guest. Sign up (or log in) to start making projects!

1h 58m logged

Add progress reporting module with indicatif integration and stage callbacks

Introduce a progress module in the pwr CLI crate that provides two
display modes for long-running operations. The archive_progress_bar and
restore_progress_bar functions create indicatif ProgressBar instances
with styled templates showing a spinner, progress bar, byte counter,
and ETA. The update_archive_progress function maps ArchiveStage enum
values to human-readable status messages displayed in the bar.

For non-interactive terminals or quiet mode, print_stage emits a simple
line to stderr for each stage transition during archive or extract
operations. This provides visibility into long-running operations
without requiring a TTY.

0
8

Comments 0

No comments yet. Be the first!