allow passing template content to template command

When you want to create files on the server and the template is generated on the fly it is a great win in usability to pass the template content to the command.