elm-outdated icon indicating copy to clipboard operation
elm-outdated copied to clipboard

A 'no color' option

Open michaeljones opened this issue 7 years ago • 0 comments

Thanks for writing this. I've just set up a weekly cron task at work using this to email us about possible updates.

I've ended up using a strip-ansi package to remove the colour codes from the output so I can put them in a plain text email. It would be great if there was already an option to do that. I looked through the cli-color library that you're using and I couldn't find any way to disable them. I think I was hoping for a environment variable. Perhaps there are 'uncolored' text options in the library that this tool could use if a flag is set. I'm not sure of the best approach.

I would be happy to try to look into this if you think it would be worth adding?

Thanks again for the project.

michaeljones avatar Nov 29 '18 11:11 michaeljones