#39: Add color to varify deps status results#79
#39: Add color to varify deps status results#79dpc merged 1 commit intocrev-dev:masterfrom ffranr:prettify_verify
Conversation
|
Concept OK, but colored won't work on windows. Also, it will print ascii garbage when users pipe the outputs to file etc. We should use You can use https://github.com/slog-rs/term/blob/master/src/lib.rs#L1380 as a reference on how to use You should probably implement something like this: Inside each of them, detect if the given output is a terminal ( |
|
Thanks for the feedback! I'll take a look at |
|
@dpc Is this the sort of thing you were thinking of? |
|
I have landed (that's my philosophy), but there are problems: See Some other improvements: There will be more stuff to output in color. We should probably have an API like this: and then some generic function/struct that checks @rffrancon Thank you for this PR, and let me know if you plan to work on the above, or should I look into it eventually, when I find a time. |
|
I'm going to take a quick stab at it. |
|
@dpc Thank you for the feedback once more! I see that you've pushed this much further than what I had in mind, looks great. :) |
No description provided.