Skip to content

Add colors to --help#324

Open
starsep wants to merge 1 commit intochmln:masterfrom
starsep:colorful-help
Open

Add colors to --help#324
starsep wants to merge 1 commit intochmln:masterfrom
starsep:colorful-help

Conversation

@starsep
Copy link
Copy Markdown

@starsep starsep commented Nov 23, 2025

I used clap-cargo as it's easy to use and provides sensible default styles.
User can disable colors via NO_COLOR=1 environment variable

Output of sd --help:

before after NO_COLOR=1
sd-before sd-color sd-no-color

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

Successfully merging this pull request may close these issues.

1 participant