ICommandSet

Basic interface of all command sets.

Members

Functions

add
void add(Command cmd)

Add the command cmd to the command set.

category
string category()

Human-readable categorical name for the commands in the set.

commandNames
string[] commandNames()

Sorted list of the primary names of all commands in the command set.

context
Context context()

Context for the currently executing command.

getCommand
Command* getCommand(char[] cmdName)

Lookup a command in this command set by one of its names.

Meta