You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for help because I have a problem that I can't solve by myself:
From the context it is possible to know the current subcommand using "click.Context.invoked_subcommand" and even to know the previous command from "click.Context.parent". But I can't find a way to know what will be the next command to process. For example, if I invoke:
$ python my-app.py config init
Is there any way to get that the next subcommand will be "init" from the function to process "config"?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all!
New Click click here.
I'm looking for help because I have a problem that I can't solve by myself:
From the context it is possible to know the current subcommand using "click.Context.invoked_subcommand" and even to know the previous command from "click.Context.parent". But I can't find a way to know what will be the next command to process. For example, if I invoke:
$ python my-app.py config init
Is there any way to get that the next subcommand will be "init" from the function to process "config"?
Thanks.
Toni
Beta Was this translation helpful? Give feedback.
All reactions