Skip to content

Global options for sub-commands #762

Answered by nils-a
IGx89 asked this question in Q&A
Mar 4, 2022 · 1 comments · 10 replies
Discussion options

You must be logged in to vote

Much the same as #657 - you can create global options by subclassing from a common settings class.

As to the order of commands/subcommands and options: Currently, all options and arguments need to be last. #193 addresses this issue.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@IGx89
Comment options

@nils-a
Comment options

@IGx89
Comment options

@nils-a
Comment options

@IGx89
Comment options

Answer selected by nils-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants