Disabling color through environment variables (#598)
* This patch adds support for disabling color through environment variables.
- NO_COLOR: https://no-color.org/
- CLICOLOR,CLICOLOR_FORCE: https://bixense.com/clicolors/ ( [logrus built-in](6699a89a23/text_formatter.go (L46)
) )
* use viper/cobra and add documentation. (https://github.com/containrrr/watchtower/pull/598#pullrequestreview-463814669)
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
pull/626/head^2
parent
9bd3913a11
commit
158b6935d4
Loading…
Reference in New Issue