Skip to content

Display help without requiring ParseArguments #281

Open
@Steve887

Description

@Steve887

I'm trying to print the help text for my options without having to force a parser error.

Currently, it seems the only way to print the help text is to call something like

Parser.Default.ParseArguments<Options>(new string[] { "verb", "--help" });

I see there's HelpText.AutoBuild but that seems to require a NotParsed result.

Is there a way to write the help text for an options class without having to parse arguments? Maybe something like HelpText.DisplayHelp<Options>?

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