Add TTY-aware output to the wasmer package
and wasmer container
commands
#4309
Labels
🎉 enhancement
New feature!
🥇 good first issue
Good for newcomers
📦 lib-cli
About wasmer-cli
linear
Created by Linear-GitHub Sync
priority-low
Low priority issue
Milestone
In #4287 we added three new commands,
wasmer container unpack
,wasmer package download
, andwasmer package build
.The commands currently use
eprintln!()
to show output, but ideally we'd do something more TTY-aware using theindicatif
crate.Some suggestions:
Content-Length
header,ProgressBar::set_length()
, andProgressBar::wrap_write()
here)ProgressBar::println()
orProgressBar::set_message()
instead of theeprintln!()
updates--quiet
flag that hides outputThe text was updated successfully, but these errors were encountered: