add method

void add(
  1. String cmd
)

Implementation

void add(String cmd){
  cmds.add(cmd);
}