Support FORCE_COLOR / NO_COLOR env vars #1141
Labels
A-cli
C-enhancement
Category: Raise on the bar on expectations
S-blocked
Status: Blocked on something else such as an RFC or other implementation work.
Please support the
FORCE_COLOR
andNO_COLOR
environment variables as alternative to the--color
CLI switch.The start-up behaviour then would be:
--color
set: use this configuration.NO_COLOR
set: treat as--color never
FORCE_COLOR
set: treat as--color always
--color auto
.I see typos uses
anstyle
, likeuv
, so this is a virtual duplicate of astral-sh/uv#3955, withNO_COLOR
already working, andCLICOLOR_FORCE
having the same effect asFORCE_COLOR
.The text was updated successfully, but these errors were encountered: