feat(cli): fine-grained color control - #586
Conversation
This doesn't quite work yet, since tracing_indicatif and anstream::AutoStream don't compose cleanly.
Signed-off-by: William Woodruff <william@yossarian.net>
|
I thought about this some more, and I think this approach will never compose 100% to my liking: Instead, the better approach here is probably to avoid composing the "no color" and progress bar use cases: forcefully disabling colors should probably also disable the progress bar, even though it's technically its own thing. The alternative to the above would be do so something more like what |
|
The above is no longer an immediate problem, since As such, this is now close enough to what I'm thinking. But it still needs tests. |
WIP.This doesn't quite work yet, since tracing_indicatif and anstream::AutoStream don't compose cleanly. I'm not 100% sure if this is a fundamental incompatibility or API misuse on my part, yet.