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-testEnter 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 installFirst, pull down the repo:
git clone github.com/Chris-Greaves/stencilThen use go to download the dependencies and build the cli tool
go get
go buildTest it by using the resulting executable:
# Example based on Windows
stencil.exe example-templates\basic-exampleStencil is released under the Apache 2.0 license. See LICENSE