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-click does not format nested commands #86
Comments
Hmm, it's working fine for me: $ python 01_simple.py sync --help
Debug mode is off
Usage: 01_simple.py sync [OPTIONS]
Synchronise all your files between two places. Example command that doesn't do
much except print to the terminal.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ * --type TEXT Type of file to sync [default: files] [required] │
│ --all │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯ How are you installing rich-click? What version are you using? |
I'm terribly sorry. I was working on an old project which, it turns out, had an outdated version of click specified in its |
Love your project, by the way! |
Ah phew, glad you got it sorted 😅 If you happen to know what version of click it was that would be useful, I can pin a minimum requirement to avoid it in the future perhaps.. |
It turns out I started this little side project just before Click v8 was released. |
Thanks 🙌🏻 I was curious as to whether I could back-port support but having glanced over the click changelog I suspect that it's not trivial. Version 8 was released 2021-05-11 which is actually not all that long ago. Rich-click currently pins I'll add a note to the readme though 🙂 Phil |
Great, thanks! That will save the next person some time, 😀. |
Nested commands are not formatted at all. Because I couldn't get my script to work correctly I tried the simple example script. I get:
This works as advertised. However:
This does not work as advertised. Am I missing something? Should the example script be updated or is this a bug?
The text was updated successfully, but these errors were encountered: