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

Support forcing color output on/off #799

Merged
merged 2 commits into from
Jan 27, 2023

Commits on Jan 6, 2023

  1. Support forcing color output on/off

    Closes grafana#798
    
    Introduce flag `--color` to control the colorization of diff output.
    
    Add flag to all commands that can output colorized diff text:
    - `diff`
    - `apply`
    - `prune`
    
    `--color` has 3 allowed values:
    - `auto` (default): colorize if stdout is a tty (current behavior)
    - `always`: always colorize output
    - `never`: never colorize output
    mattwilder committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    ac49d14 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    333e8d9 View commit details
    Browse the repository at this point in the history