Open
Description
Similar to other cargo tooling and cargo itself there should be a --color=always/never option for clippy.
I have situation where I'd like to pipe clippy into other programs and preserve the colors. But I see no way of achieving that.
Example bash: cargo test -- --color=always |& less
preserves colors but cargo clippy -- --color=always |& less
fails and just cargo clippy |& less
strips colors.
@ rustbot label +C-enhancement