registerCommand static method

void registerCommand(
  1. Command command
)

Implementation

static void registerCommand(Command command) {
  _commands[command.command] = command;
}