-
Notifications
You must be signed in to change notification settings - Fork 5
Global arguments #40
Copy link
Copy link
Open
Description
I don't think conf-rs currently supports this.
This is actually very useful when working with subcommands as it makes it possible to specify a global argument anywhere. This makes it a bit nicer to work with since you don't have to remember if a specific argument is a global or subcommand specific one.
This is mostly a nice to have feature, so in case this doesn't fit in this projects or the way it works, I'm also happy with just closing this as "not supported"
How clap does this : Global Arguments: Arguments can optionally be defined once, and be available to all child subcommands.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels