Moving sphinx template to a command