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 used the GitHub search to find a similar question and didn't find it.
I searched the Typer documentation, with the integrated search.
I already searched in Google "How to X in Typer" and didn't find any information.
I already read and followed all the tutorial in the docs and didn't find an answer.
I already checked if it is not related to Typer but to Click.
Commit to Help
I commit to help with one of those options 👆
Example Code
IfIknew, Iwouldn'tbepostinghere
Description
I am trying to allow a user to specify a specific "driver" for a subcommand. For example, the same subcommands could apply to both AWS and Google Compute Engine. When the user initially configures things, they select from available "drivers" and then on subsequent invocations, they can view the commands for that driver. I would like to have the ability to have a set of commands per-driver instead of trying to enforce a common API.
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
-
First Check
Commit to Help
Example Code
Description
I am trying to allow a user to specify a specific "driver" for a subcommand. For example, the same subcommands could apply to both AWS and Google Compute Engine. When the user initially configures things, they select from available "drivers" and then on subsequent invocations, they can view the commands for that driver. I would like to have the ability to have a set of commands per-driver instead of trying to enforce a common API.
Operating System
Other
Operating System Details
Ideally, this is OS agnostic
Typer Version
latest
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions