parser to command