Console

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(string name, string ver)
Undocumented in source.

Members

Functions

add
Command add(Command command)

Adds a command object.

addCommands
void addCommands(Command[] commands)
Undocumented in source. Be warned that the author may not have intended to support it.
all
Map!(string, Command) all()
Undocumented in source. Be warned that the author may not have intended to support it.
all
Map!(string, Command) all(string namespace)
Undocumented in source. Be warned that the author may not have intended to support it.
doRun
int doRun(Input input, Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
doRunCommand
int doRunCommand(Command command, Input input, Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
extractNamespace
string extractNamespace(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
extractNamespace
string extractNamespace(string name, Integer limit)
Undocumented in source. Be warned that the author may not have intended to support it.
find
Command find(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Command get(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getCommandName
string getCommandName(Input input)
Undocumented in source. Be warned that the author may not have intended to support it.
getDefaultCommands
Command[] getDefaultCommands()
Undocumented in source. Be warned that the author may not have intended to support it.
getDefaultHelperSet
HelperSet getDefaultHelperSet()
Undocumented in source. Be warned that the author may not have intended to support it.
getDefinition
InputDefinition getDefinition()
Undocumented in source. Be warned that the author may not have intended to support it.
getHelp
string getHelp()
Undocumented in source. Be warned that the author may not have intended to support it.
getHelperSet
HelperSet getHelperSet()
Undocumented in source. Be warned that the author may not have intended to support it.
getLongVersion
string getLongVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
getName
string getName()
Undocumented in source. Be warned that the author may not have intended to support it.
getNamespaces
string[] getNamespaces()
Undocumented in source. Be warned that the author may not have intended to support it.
getSttyColumns
string getSttyColumns()
Undocumented in source. Be warned that the author may not have intended to support it.
getTerminalDimensions
int[] getTerminalDimensions()
Undocumented in source. Be warned that the author may not have intended to support it.
getVersion
string getVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
register
Command register(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
run
int run(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
run
int run(Input input, Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
setAutoExit
void setAutoExit(bool autoExit)
Undocumented in source. Be warned that the author may not have intended to support it.
setCatchExceptions
void setCatchExceptions(bool catchExceptions)
Undocumented in source. Be warned that the author may not have intended to support it.
setDefinition
void setDefinition(InputDefinition definition)
Undocumented in source. Be warned that the author may not have intended to support it.
setHelperSet
void setHelperSet(HelperSet helperSet)
Undocumented in source. Be warned that the author may not have intended to support it.
setName
void setName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
setVersion
void setVersion(string ver)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getDefaultInputDefinition
InputDefinition getDefaultInputDefinition()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta