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

[bug/feature] --no-color changes more than just the color/no-color of the log output #140

Open
jpluscplusm opened this issue Apr 26, 2022 · 0 comments

Comments

@jpluscplusm
Copy link

As I'm reporting a few Issues with agebox today, I find myself using screenshots rather than simply capturing the text output of the tool. This is because:

  • the "normal" user interaction, at the shell, is via colorized logs
  • diverting colorized output into a file, for copy'n'pasting here in github, includes color-related escape codes (yes, the're removable with sed/etc, but still ...)
  • using the --no-color output option does more than simply stripping the color-related escape codes from the log output - it changes the logging format such that it's not representative of the "normal" user experience any longer.

Here's a screenshot :-)

image

This is somewhat annoying for filing github Issues.

But more than that, it stops a color-intolerant user (or build system, or script, etc etc) from being able to access the "normal" format of the logs.

Request: make --no-color do only the single job of not outputting color-related escape codes. Leave the log format modifications to other flags.

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

No branches or pull requests

1 participant