cmd command accepts master template parameter

By default, cmd will use latexmk in pdflatex mode.