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 NO_COLOR #2091

Closed
mstoykov opened this issue Jul 13, 2021 · 0 comments · Fixed by #2410
Closed

Support NO_COLOR #2091

mstoykov opened this issue Jul 13, 2021 · 0 comments · Fixed by #2410

Comments

@mstoykov
Copy link
Contributor

There apparently is now somewhat of a "standard" way to disable colors for terminal applications https://no-color.org/, it appears to be fairly popular given the list of things supporting it and fatih/color added support, which is how I found out.

Feature Description

NO_COLOR= k6 run script.js

should not output any color codes

Suggested Solution (optional)

Unfortunately, the above fatih/color update isn't enough as we check ourselves whether we should output color or not. Including --no-color flag which likely just needs to get the env variable source configured ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants