futrime / lip

A general package installer

Home Page:http://lip.futrime.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]: Support NO_COLOR and "--enable-colored-output" to disable colored output

killcerr opened this issue · comments

Is your feature request related to a problem? Please describe.

Some shell may not support colored output so I suggest to add a way to disable colored output.

Describe the solution you'd like

Add a command-line argument "--enable-colored-output".
If the NO_COLOR environment variable is set,the colored output will also be disabled.
Automatic disable colored output if the shell can not support the colored output.

Describe alternatives you've considered

No response

Additional context

http://no-color.org/