Type Alias WithHelp

WithHelp: { sections?: HelpSections; useCommand?: true; useFilter?: true }

Defines attributes for the help option.

Type declaration

  • Optional Readonlysections?: HelpSections

    The help sections to be rendered.

  • Optional ReadonlyuseCommand?: true

    Whether to use the next argument as the name of a subcommand. Has precedence over WithHelp.useFilter.

  • Optional ReadonlyuseFilter?: true

    Whether to use the remaining arguments as option filter.