finish command definition, start impl of optional command paras