go-spawn

A cli tool written in go for project templating, scaffolding, and text-replacement
Install
Mac
Intel
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-darwin-amd64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Arm
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-darwin-arm64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Linux
x64
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-linux-amd64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Arm
wget https://github.com/timharris777/go-spawn/releases/latest/download/go-spawn-linux-arm64 -O /usr/local/bin/go-spawn && chmod +x /usr/local/bin/go-spawn
Windows
Go to https://github.com/timharris777/go-spawn/releases/latest and download the appropriate exe file.
Usage
A cli tool written in go for project templating, scaffolding, and text-replacement
Usage:
go-spawn [flags]
Flags:
-d, --debug folder to output rendered templates
-h, --help help for go-spawn
-i, --input string provide a yaml file that has inputs for templating
--inputFromPipe provide input from pipe
-o, --output string folder to output rendered templates
-t, --template string path to template file or folder. Folder requires --output option
--templateFromPipe provide template from pipe
Examples
A basic use case
Coming soon...
Coming soon...
Coming soon...
Render a template directory
Coming soon...