-
Notifications
You must be signed in to change notification settings - Fork 38
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
rich_cli
does not properly clean indentations for click >= 8.1.0
#55
Comments
Ok, so we need to run dedent manually now I guess. Thanks for reporting! PRs welcome, I'm away for 2-3 weeks now with holiday and starting a new job but will get to it ASAP. |
I'll try to take a look at the code in the next few days. But it seems to me that the easy way out would be to use |
No, that sounds perfect 👍🏻 I wasn't familiar with |
@apcamargo 's fix works wonderfully 🚀 |
Ok. Apparently the fix worked for the header, but not for the command description.
|
ah yeah, tests... #25 🙄 Thanks for spotting @apcamargo! I also spotted one other place in the code that needed this before release ( |
rich_click
is not cleaning indentations ifclick
version is ≥ 8.10. The cause is probably this change in the backend.This code:
Is generating this:
Instead of this:
The text was updated successfully, but these errors were encountered: