-
Notifications
You must be signed in to change notification settings - Fork 37
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
Test help output in rich-click
CLI is robust to lazy loading of modules.
#160
Comments
Ah it gets worse.
Note this is specific to 1.8.0dev. 1.7.3 does not have this issue. I have a feeling why that is the case, but I will have to look deeper. |
Figured out what's going on pretty quickly with the subcommand and I'll have a fix for that, but the main command I will have to dig into. |
Ahhh, figured it out. TLDR, this is a bug in 1.8.0dev, and it arises due to the order of how Click stuff is loaded now with the lazy-loading. This is entirely fixable, and in that sense it's not a big deal. What is a big deal is this is a big pain to safeguard against in tests, since the tests all share the same |
celery
command line doesn't work with rich-click celery
rich-click
CLI is robust to lazy loading of modules.
TLDR: it's missing the subcommands.
celery --help
:rich-click celery --help
:The text was updated successfully, but these errors were encountered: