Replies: 1 comment
-
I've stumbled upon the same problem but found no solution yet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Python: 3.9.9
Click: 8.0.3
I have a script with several subcommands where the main command reads from a config file to populate the context object, and the subcommands then operate on this data in the object. Here's an MVCE:
Unfortunately, the shell completion for
EntityType
isn't working; when it gets triggered, the script fails with:Is there a way to get the
ctx.obj
assignment inmain()
to be in effect when completing arguments for subcommands?Beta Was this translation helpful? Give feedback.
All reactions