clear method

void clear()

Clear all commands.

Implementation

void clear() {
  _commands.clear();
  _byName.clear();
  _byAlias.clear();
}