Skip to content

Disable required checks from subcommand #268

@ymenager

Description

@ymenager

I wanted to have the ability to have a subcommand which will disable validation of required parameters in a parent subcommand.

I started working on it by following the same model as isHelpRequested().

However unless I'm completely missing something it doesn't seem like that's going to work since help doesn't seem to disable required in parent subcommands :(

So it kinda looks like this would end up requiring major architectural changes so that the required checks are done at the end after all parsing is completed, is that correct ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions