getCommand method
@internal
Implementation
CommandDescriptor getCommand(String name) {
CommandDescriptor? command = _commands[name];
if (command != null) {
return command;
}
else {
throw CommandException("unknown command '$name'");
}
}