Skip to content

Any way to display subcommand help? #3

@philwhln

Description

@philwhln

Hi,

Love the subcommand module!

I'm trying to display the help specific to a given subcommand, but after the fact.

After option parser / subcommand has done it's thing, I get is the command_name and my remaining ARGV. If ARGV is not what I'm expecting then I want to display the same help output as would be seen by

command --help

Not sure how to call this from outside the "command" block.

Any help appreciated.

Cheers,
Phil

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