feat(cli): render library progress with indicatif

The CLI owns the terminal now: TermProgress turns the library's
Progress events into bars and spinners on stderr (hidden by indicatif
when stderr is not a terminal).  Named transfers (OCI layers, kernel,
tarball) render as byte bars, extraction and initramfs as file-count
spinners.
This commit is contained in:
2026-10-03 00:06:22 +02:00
parent 1cfcf0e433
commit b3ad0ab3e0
4 changed files with 103 additions and 3 deletions
+3
View File
@@ -21,3 +21,6 @@ clap = { version = "4", features = ["derive", "env"] }
# Error handling
anyhow = "1"
# Progress bar rendering of library progress events
indicatif = "0.18"