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

Color output #232

Open
nichtich opened this issue Apr 7, 2016 · 2 comments
Open

Color output #232

nichtich opened this issue Apr 7, 2016 · 2 comments

Comments

@nichtich
Copy link
Member

nichtich commented Apr 7, 2016

Color output on command line would be nice. I implemented CSV and JSON in color for wdq but it's a hack.

@vpeil
Copy link
Member

vpeil commented May 24, 2017

Yes, color output would be cool. There are several tools to improve the CLI experience:

@netsensei
Copy link
Contributor

We use Term::ANSIColor in the Datahub::Factory project we maintain. (which actually runs on top of Catmandu libraries).

We implemented a quick, basic -v CLI option which allows us to do verbose output on STDOUT. Like status messages during complex processing. These messages are coloured.

See: https://github.com/thedatahub/Datahub-Factory/blob/master/lib/Datahub/Factory/Flash.pm

We don't colour log4perl log messages, because we use these primarily for logging to a custom file appender. But we could colour those given the possibility that log4perl also outputs to STDOUT if we configure it to do so.

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

No branches or pull requests

3 participants