Skip to content

feat: Add global disable toggle for --no-color and NO_COLOR#22

Merged
kavix merged 1 commit into
mainfrom
add-no-color-flag
Jul 2, 2026
Merged

feat: Add global disable toggle for --no-color and NO_COLOR#22
kavix merged 1 commit into
mainfrom
add-no-color-flag

Conversation

@kavix

@kavix kavix commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Description

Adds a global toggle to disable color output when --no-color or NO_COLOR environment variable is used. This suppresses ANSI escape codes across JSON, HTML, and header formats.

Fixes #11

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Added unit tests
  • Tested via make test locally
  • Compiled and tested via local binary (make build)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@kavix kavix self-assigned this Jul 2, 2026
@kavix kavix merged commit e94a5a2 into main Jul 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --no-color flag to disable all terminal colors

1 participant