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

Option to force ANSI color codes or disable TTY detection #2282

Closed
gdewald opened this issue May 9, 2022 · 1 comment
Closed

Option to force ANSI color codes or disable TTY detection #2282

gdewald opened this issue May 9, 2022 · 1 comment

Comments

@gdewald
Copy link

gdewald commented May 9, 2022

ANSI Colors are automatically disabled in some cases, I would like to request some option to disable this feature for cases where the output may be captured outside of a TTY but color codes are still desired.

Specific use case: GitLab CI supports color codes in output, however Click applications don't appear to output color codes when executed in this context.

@davidism
Copy link
Member

davidism commented May 9, 2022

Essentially duplicate of #2207, but with the bool flipped.

@davidism davidism closed this as completed May 9, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants