clear method

void clear()

Implementation

void clear() {
  cmds.clear();
}