Is there a way to put global options and subcommand options in any place? #1123
Unanswered
chenzhiwei
asked this question in
Questions
Replies: 1 comment 1 reply
-
i would also be interested in this ... have you @chenzhiwei made any discoveries in that regard? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
In above code, the
username
,password
andhost
are global options and can only place it after the main program.Is there a way to put them after arguments or subcommands, like
kubectl
:Operating System
Linux
Operating System Details
No response
Typer Version
0.15.1
Python Version
Python 3.13.1
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions