Bash Headstart is a wrapper around go-script-bash. In my projects I found my self creating the same structure and same commands over and over again. Bash Headstart contains the common parts of these projects.
- Add this repo as a git submodule to your project:
git submodule add https://github.com/tterranigma/bash-headstart scripts/vendor bash-headstart -b master
- Run
git submodule init --recursive path/to/bash-headstart-submodule
- Copy
headstart-template
to the root of your project and rename it to fit your project. - Run
eval "$(./renamed-headstart-template env -)"
. - You are ready to use the
renamed-headstart-template
command.