iz.options

Command line argument handling based on UDAs.

Members

Aliases

ArgFlags
alias ArgFlags = EnumSet!(ArgFlag, Set8)

Set of ArgFlag.

Enums

ArgFlag
enum ArgFlag

Possible flags associated to an argument.

Functions

argNameAndValue
string[2] argNameAndValue(const auto ref S s)

Splits the argument and its optional value. This function is public in order to document the possible syntaxes of an argument.

handleArguments
bool handleArguments(string[] args)

Handles program arguments.

help
string help()

Mixins

__anonymous
mixin AliasedEnumMembers!(ArgFlag, "AF")

AFmandatory, AFstopper, etc

Structs

Argument
struct Argument

Used to describe a program argument.

Templates

ArgDescriptions
template ArgDescriptions(Locations...)

Collects the description of the arguments in a tuple of Argument. Can be used to build custom help messages.

Meta