An example go CLI to demo and learn new Go tooling!
- copy example-go-cli
- erase the git history
- commit
- replace all references to it with the new name
- update README
- Create repo on GitHub and push this to it
- update go.bbkane.com
- if a CLI:
- go install go.bbkane.com/cli@latest to test
- add KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP to secrets
- Push a tag to build
- brew install bbkane/tap/cli
- Add feature
- update demo.gif
example-go-cli hello
scoop bucket add bbkane https://github.com/bbkane/scoop-bucket
scoop install bbkane/example-go-cli
- Download Mac/Linux/Windows executable: GitHub releases
- Go:
go install go.bbkane.com/example-go-cli@latest
- Build with goreleaser after cloning:
goreleaser --snapshot --skip-publish --clean
See Go Developer Tooling for notes on development tooling.