Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow control of output colorization #572
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 |


zapo commentedMar 3, 2020
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