jaster.cli.infogen.datatypes

The various datatypes provided by infogen.

Members

Aliases

AllowPartialMatch
alias AllowPartialMatch = Flag!"partialMatch"

Used with Pattern.matchSpacefull.

ArgumentActionFunc
alias ArgumentActionFunc(CommandT) = Result!void function(string value, ref CommandT commandInstance)

The function used to perform an argument's setter action.

NamedArgumentInfo
alias NamedArgumentInfo(CommandT) = ArgumentInfo!(CommandNamedArg, CommandT)
Undocumented in source.
PositionalArgumentInfo
alias PositionalArgumentInfo(CommandT) = ArgumentInfo!(CommandPositionalArg, CommandT)
Undocumented in source.
RawListArgumentInfo
alias RawListArgumentInfo(CommandT) = ArgumentInfo!(CommandRawListArg, CommandT)
Undocumented in source.

Enums

CommandArgAction
enum CommandArgAction

Attach any value from this enum onto an argument to specify what parsing action should be performed on it.

CommandArgExistence
enum CommandArgExistence

Describes the existence of a command argument. i.e., how many times can it appear; is it optional, etc.

CommandArgParseScheme
enum CommandArgParseScheme

Describes the parsing scheme used when parsing the argument's value.

Structs

ArgumentInfo
struct ArgumentInfo(UDA, CommandT)

Contains information about command's argument.

CommandInfo
struct CommandInfo(CommandT)

Describes a command and its parameters.

Pattern
struct Pattern

A pattern is a simple string format for describing multiple "patterns" that can be matched to user provided input.

Meta