Conversation
- --color=WHEN, with WHEN one of: - "auto": current behavior, default if omitted - "always": force colorization - "never": force no-colorization - --no-color, disable colorization, equivalent to --color="never"
|
I realize this doesn't work with latest changes on utils/table_printer.go when output is detected as non-tty and we use instead a tsv table renderer. This doesn't fix my initial problem when using Is this still the direction you think we should go @mislav ? Should |
|
Just a quick note: since cli uses |
|
Thanks for looking into this @zapo. Adding the If you're interested in following progress on the colorization problem you can follow this issue #364 |
|
@zapo We still definitely want this feature, but we first making some changes to how we structure Cobra commands. After that, it will be easier to reconsider the global |
Follow up PR based on #447 conversation.
This PR adds two new persistent flags to control colorization:
--color=WHEN, with WHEN one of:
--no-color, disable colorization, equivalent to --color="never" and has precedence over --color