Conversation
Member
|
My before looks different. Bold font is used for some parts. I don't want an additional dependency just for help colors. |
Contributor
Author
|
Perhaps that's due different style of terminal? I used freeze command with monokai theme.
Ok, I will remove dependency and specify style in the code. |
Member
|
in app.rs should be fine.
…On Sun, Nov 23, 2025, at 11:41, Filip Czaplicki wrote:
*starsep* left a comment (brocode/fblog#133) <#133 (comment)>
Perhaps that's due different style of terminal? I used freeze <https://github.com/charmbracelet/freeze> command with monokai theme.
> I don't want an additional dependency just for help colors.
>
Ok, I will remove dependency and specify style in the code.
Any preference where it should be defined?
I could specify it in src/app.rs or create a new file e.g. src/styles.rs
—
Reply to this email directly, view it on GitHub <#133 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADCFBAMIQY25LF3XQE6YT336GFO3AVCNFSM6AAAAACM6BHSGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKNRXHAYDSMZRGU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
230f554 to
69450c2
Compare
Contributor
Author
|
I pushed version without clap-cargo depedency. I used clap v3 styling |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I used clap-cargo as it's easy to use and provides sensible default styles.User can disable colors via
NO_COLOR=1environment variableNO_COLOR=1Edit: update after screenshot after removing dependency