Skip to content

Arity for command arguments are not validated when there are child commands #1151

Open
@iravanchi

Description

@iravanchi

When I specify a command argument as required (using arg.Arity = ArgumentArity.ExactlyOnce) on a command that has sub-commands, the arity is not validated when invoking any of the subcommands. They are only validated when the command is being invoked directly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions