Skip to content

Global arguments #40

@soundofspace

Description

@soundofspace

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions