Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --color command line argument to control colored console output #77261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 17, 2023

  1. Add --color command line argument to control colored console output

    This also adds support for the `NO_COLOR` environment variable,
    and harmonizes checks for colored console output by using a unique Engine
    method.
    
    - `auto` (default): Only color if output is a TTY (interactive session).
      Color is disabled if the `NO_COLOR` environment variable is set to a
      non-empty string, as per <https://no-color.org>.
    - `always`: Always color, even if output is a file or is non-interactive
      (useful for continuous integration, which is non-interactive).
      This also bypasses `NO_COLOR` as per its specification.
    - `never`: Never color command line output.
    Calinou committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    4dd89b4 View commit details
    Browse the repository at this point in the history