A command line tool to create files and directories from a template.
- Single Binary - No dependencies to install just a single binary to add to your PATH and run
- Powerful Templates - Templates are written in the powerful Golang Template language and sprig functions
- Template Paths and Contents - You can template both the path and the content of files
- Simple Interactive UI - Easy to use UI based on AlecAivazis/survey
Download the pre-compiled binary for your OS from the release page and copy it into a directory in your PATH.
You can use the built in help to list the usage:
tmpltr help
See Writing a Template for a guide to write a template.
There are example templates in the examples
directory.
If you notice a bug or have a feature suggestion please create an issue in github.
If you want to help contribute please see CONTRIBUTING.md
for more information on requirements for PRs and other useful information.