The following project is a template for commandline applications, and includes options for Homebrew.
Template
[!CAUTION] The following repository is in very early stages of development and is not ready for use. The Caution banner will be removed when generally available.
brew tap {{ default $.content["homebrew-taps"] "polyium/homebrew-taps" }}
brew install {{ default $.content["executable"] "template-go-cli" }}
brew update && brew upgrade {{ default $.content["executable"] "template-go-cli" }}
brew update
brew uninstall --cask {{ default $.content["executable"] "template-go-cli" }}
brew install {{ default $.content["executable"] "template-go-cli" }}
{{ default $.content["executable"] "template-go-cli" }} --help
See the Contributing Guide for additional details on getting started.