AbstractInput

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(InputDefinition definition)
Undocumented in source.

Members

Functions

bind
void bind(InputDefinition definition)
Undocumented in source. Be warned that the author may not have intended to support it.
getArgument
string getArgument(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getArguments
string[] getArguments()
Undocumented in source. Be warned that the author may not have intended to support it.
getOption
string getOption(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getOptions
string[] getOptions()
Undocumented in source. Be warned that the author may not have intended to support it.
hasArgument
bool hasArgument(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
hasOption
bool hasOption(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
isInteractive
bool isInteractive()
Undocumented in source. Be warned that the author may not have intended to support it.
parse
void parse()
Undocumented in source.
setArgument
void setArgument(string name, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
setInteractive
void setInteractive(bool interactive)
Undocumented in source. Be warned that the author may not have intended to support it.
setOption
void setOption(string name, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
validate
void validate()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

arguments
Map!(string, string) arguments;
Undocumented in source.
definition
InputDefinition definition;
Undocumented in source.
interactive
bool interactive;
Undocumented in source.
options
Map!(string, string) options;
Undocumented in source.

Inherited Members

From Input

getFirstArgument
string getFirstArgument()
Undocumented in source.
hasParameterOption
bool hasParameterOption(string value, bool onlyParams)
Undocumented in source. Be warned that the author may not have intended to support it.
hasParameterOption
bool hasParameterOption(string[] values, bool onlyParams)
Undocumented in source.
getParameterOption
string getParameterOption(string value, bool onlyParams)
Undocumented in source. Be warned that the author may not have intended to support it.
getParameterOption
string getParameterOption(string value, string defaultValue, bool onlyParams)
Undocumented in source. Be warned that the author may not have intended to support it.
getParameterOption
string getParameterOption(string[] values, string defaultValue, bool onlyParams)
Undocumented in source.
bind
void bind(InputDefinition definition)
Undocumented in source.
validate
void validate()
Undocumented in source.
getArguments
string[] getArguments()
Undocumented in source.
getArgument
string getArgument(string name)
Undocumented in source.
setArgument
void setArgument(string name, string value)
Undocumented in source.
hasArgument
bool hasArgument(string name)
Undocumented in source.
getOptions
string[] getOptions()
Undocumented in source.
getOption
string getOption(string name)
Undocumented in source.
setOption
void setOption(string name, string value)
Undocumented in source.
hasOption
bool hasOption(string name)
Undocumented in source.
isInteractive
bool isInteractive()
Undocumented in source.
setInteractive
void setInteractive(bool interactive)
Undocumented in source.

Meta