-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ctx.invoked_subcommand is always None #205
Comments
Also remove default subcommand feature because of pallets/click#205
Workaround: For some cases, checking for the truthness of |
Also remove default subcommand feature because of pallets/click#205
d88d0a7 introduced pallets#205. Fix pallets#205 Fix pallets#200
d88d0a7 introduced pallets#205. Fix pallets#205 Fix pallets#200
Also remove default subcommand feature because of pallets/click#205
d88d0a7 introduced pallets#205. Fix pallets#205 Fix pallets#200
This is a stupid situation I brought this into. As far as I can see there is no real way to fix this. I need to think about what I actually want this to do now. |
Comments on the PR? I actually tried splitting the operations of handle_subcommand up, but that didn't work well with chained commands. |
While the solution is neat, it causes artifacts because callbacks for instance cannot accept the object yet which causes issues. I much rather remove the |
Just supporting a single |
Thanks. Any ETA on 3.2? |
Released as off now. |
Also remove default subcommand feature because of pallets/click#205
Also remove default subcommand feature because of pallets/click#205
Also remove default subcommand feature because of pallets/click#205
Also remove default subcommand feature because of pallets/click#205
Also remove default subcommand feature because of pallets/click#205
Also remove default subcommand feature because of pallets/click#205
Also remove default subcommand feature because of pallets/click#205
The example from http://click.pocoo.org/commands/#group-invocation-without-command:
The text was updated successfully, but these errors were encountered: