argparse documentation Help

ArgumentGroup

ArgumentGroup UDA is used to group arguments on help screen.

Usage

Signature

ArgumentGroup(string name)

Usage example

@ArgumentGroup("my group") { ... }

Public members

Description

Description is used to add description text to a group.

Signature

... Description(auto ref ... group, string text) ... Description(auto ref ... group, string function() text)

Parameters

  • text

    Text that contains group description or a function that returns such text.

Usage example

@(ArgumentGroup("my group").Description("custom description")) { ... }
Last modified: 09 November 2024