Stencil is a tool for taking pre-created project templates, and creating the project using the user's configuration.
Example:
stencil github.com/Chris-Greaves/stencil-template-test
Enter the overrides you want, or just keep pressing 'Enter' till it gets to the building of the project.
You can get pre-compiled binaries from the Release section on GitHub.
However, if you want to build for a specific OS / Arch, or just want to build the source code on your own machine. Run the following commands:
go get github.com/Chris-Greaves/stencil
cd $GOPATH/src/github.com/Chris-Greaves/stencil
go install
First, pull down the repo:
git clone github.com/Chris-Greaves/stencil
Then use go to download the dependencies and build the cli tool
go get
go build
Test it by using the resulting executable:
# Example based on Windows
stencil.exe example-templates\basic-example
Stencil is released under the Apache 2.0 license. See LICENSE