How to pass color:no on command line #5831
-
I'm fine with my "color: yes" config, but for some commands, e.g. beet bad format:mp3 | tee bad-mp3.txt i dont want color as it ends up putting ansi characters into the output file. is there a way for me to do something like (maybe this is specific to the "badfiles" plugin?) Update: I found a workaround: export NO_COLOR=1
beet bad format:mp3 | tee bad-mp3.txt
export NO_COLOR= but I'd prefer a command-line options. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Can you just run:
|
Beta Was this translation helpful? Give feedback.
-
had no idea that's legal syntax. thanks! |
Beta Was this translation helpful? Give feedback.
-
Probably, beets shouldn't colorize in the first place (at least by default) if output is to a file or pipe rather than a tty. |
Beta Was this translation helpful? Give feedback.
Can you just run: