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

Colored --help #483

Closed
flying-sheep opened this issue Apr 12, 2016 · 5 comments
Closed

Colored --help #483

flying-sheep opened this issue Apr 12, 2016 · 5 comments
Labels
A-help Area: documentation, including docs.rs, readme, examples, etc... C-enhancement Category: Raise on the bar on expectations E-medium Call for participation: Experience needed to fix: Medium / intermediate

Comments

@flying-sheep
Copy link
Contributor

It would be nice to have an option to autocolor help, e.g. like this:

@kbknapp
Copy link
Member

kbknapp commented Apr 17, 2016

Hmmm, I really like this idea! I'm just not sure about it being the default option, or leaving up to a cargo feature....thoughts?

Thanks!

Edit: It could also be an AppSettings variant...

@kbknapp kbknapp added C-enhancement Category: Raise on the bar on expectations A-help Area: documentation, including docs.rs, readme, examples, etc... D: easy E-medium Call for participation: Experience needed to fix: Medium / intermediate labels Apr 17, 2016
kbknapp added a commit that referenced this issue Apr 18, 2016
To enable, ensure `clap` is compiled with `color` cargo feature.

Then in code use `AppSettings::ColoredHelp`

Closes #483
kbknapp added a commit that referenced this issue Apr 18, 2016
To enable, ensure `clap` is compiled with `color` cargo feature.

Then in code use `AppSettings::ColoredHelp`

Closes #483
@kbknapp
Copy link
Member

kbknapp commented Apr 18, 2016

So I've ended up adding this as a non-default option, but enabled via the color cargo feature and AppSettings::ColoredHelp in #487

screenshot

@homu homu closed this as completed in 770397b Apr 18, 2016
@flying-sheep
Copy link
Contributor Author

very cool! thanks!

@nabijaczleweli
Copy link
Contributor

How about supporting Windooze with this?

@kbknapp
Copy link
Member

kbknapp commented Apr 20, 2016

@nabijaczleweli that's the plan...I just haven't had time to work on it lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-help Area: documentation, including docs.rs, readme, examples, etc... C-enhancement Category: Raise on the bar on expectations E-medium Call for participation: Experience needed to fix: Medium / intermediate
Projects
None yet
Development

No branches or pull requests

3 participants