ArgParser

Argument Parser

Constructors

this
this()
Undocumented in source.

Members

Functions

parse
void parse(string[] args)

Parse the command input string.

passthrough
string[] passthrough()

Returns all values passed to the command call after the appearance of "--" unchanged.

printDebug
void printDebug(string method, string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
register
ArgParser register(Argument[] opts)

Register arguments with this parser instance. Returns the current ArgParser instance.

register
ArgParser register(Parameter[] params)

Register parameters with this parser instance. Returns the current ArgParser instance.

remainder
string[] remainder()

Returns all parameters encountered in the command call that were not recognized by the parser.

Meta