64template <
int Min,
int Max>
constexpr Nargs one_or_more
Accepts one or more values.
constexpr Nargs one
Accepts exactly one value.
constexpr Nargs none
Accepts no values; used for boolean flags.
constexpr Nargs zero_or_one
Accepts zero or one value.
constexpr Nargs zero_or_more
Accepts zero or more values.
constexpr auto optional
Convenience constant for Presence::optional.
constexpr auto required
Convenience constant for Presence::required.
Presence
Controls whether an option or positional argument is mandatory.
Tag base class for subcommand fields.
Tag base class for the Description field that provides the CLI's help text.
Specifies the minimum and maximum number of values an option or positional accepts.
int min
Minimum number of values (>= 0).
int max
Maximum number of values; -1 means unlimited.
Tag base class for command-line option/flag fields.
Tag base class for positional argument fields.
Base tag for all members that may appear in an argument specification struct.