Description
Describe the problem you are trying to solve
I've started using cargo run --quiet
(aliased to cr
) to avoid the
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `<path>`
lines that show up on every cargo run
, since I often work with programs that only emit a few lines of output, and want to keep my scrollback as clean as possible, the lines are pure noise to me.
However, this also gets rid of progress indicators for downloads and builds, which make it hard to tell how how long it will be until the program starts, or even if the program has started yet, if cargo
has things to do before running.
Describe the solution you'd like
A flag to just hide the Finished/Running lines that show up.
Alternatively, only show them if cargo is running in --verbose
or had any actions to perform?
Or don't show them if they would have been the only output from cargo, show them otherwise? Not sure of the best method here.