Add support for recursive paths to the `template` command. [closes #4]