Install
This template is currently setup to build and deploy to homebrew and AUR.
Because that is what I use so that that is what I have capacity to test at the moment.
This package go-cli-template is built and actually deployed to homebrew and aur to demonstrate the usage of the deployment scripts.
Homebrew
brew install imdevan/go-cli-template/go-cli-templateArch (AUR)
yay -S go-cli-templateGitHub Release
Download the latest binary for your platform from the releases page.
# Linux (amd64)curl -L https://github.com/imdevan/go-cli-template/releases/latest/download/go-cli-template-linux-amd64.tar.gz | tar -xzsudo mv go-cli-template-linux-amd64 /usr/local/bin/go-cli-template# macOS (Apple Silicon)curl -L https://github.com/imdevan/go-cli-template/releases/latest/download/go-cli-template-darwin-arm64.tar.gz | tar -xzsudo mv go-cli-template-darwin-arm64 /usr/local/bin/go-cli-template# macOS (Intel)curl -L https://github.com/imdevan/go-cli-template/releases/latest/download/go-cli-template-darwin-amd64.tar.gz | tar -xzsudo mv go-cli-template-darwin-amd64 /usr/local/bin/go-cli-templateManual
gh repo clone imdevan/go-cli-templatecd go-cli-templatejust buildsudo just install