Skip to content

Commit

Permalink
Add comment about more granular --color option
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 10, 2023
1 parent ba0397b commit ccf5fdc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions click_extra/colorize.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,20 @@ class ColorOption(ExtraOption):
This option is eager by default to allow for other eager options (like
``--version``) to be rendered colorless.
.. todo::
Should we switch to ``--color=<auto|never|always>`` `as GNU tools does
<https://news.ycombinator.com/item?id=36102377>`_?
Also see `how the isatty property defaults with this option
<https://news.ycombinator.com/item?id=36100865>`_, and `how it can be
implemented in Python <https://bixense.com/clicolors/>`_.
.. todo::
Support the `TERM environment variable convention
<https://news.ycombinator.com/item?id=36101712>`_?
"""

@staticmethod
Expand Down

0 comments on commit ccf5fdc

Please sign in to comment.