-
Notifications
You must be signed in to change notification settings - Fork 33
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 part of the help massage #192
Comments
Also, if you don't mind, even if the above fixes your issue, I'd still like to keep this one open. I think it's a genuine problem, even if there's an idiomatic workaround. |
Did you include |
it's working |
@OriBenHur-akeyless You can see in the above example how to make use of it. Basically, add @click.command()
@click.rich_config(help_config={"use_rich_markup": True})
def cli():
...
# code goes here |
Yay, I'm happy to hear it's working! 😄 Again, let's keep this issue open, if you don't mind! This is a genuinely strange behavior, and it's intuitive that you believed it would work without causing an error. Ideally your code would have worked just fine. |
Fixed via #193. Thanks for flagging this issue; going forward in 1.8, |
I would like to color only part of the helm message using
click.style
but for some reason, the spacing got brokenThe reason I would do such a thing is to outline a note, in the help message
result with
but using
click.style
result with this
any way to keep the spacing using
click.style
or you can subject any other way to do it?The text was updated successfully, but these errors were encountered: