https://github.com/bbkane/example-go-cli
https://github.com/bbkane/example-go-cli
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bbkane/example-go-cli
- Owner: bbkane
- License: mit
- Created: 2022-10-24T13:43:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-16T11:55:14.000Z (over 1 year ago)
- Last Synced: 2025-02-07T18:56:46.622Z (over 1 year ago)
- Language: Go
- Size: 87.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# example-go-cli
An example go CLI to demo and learn new Go tooling!
## Project status (2025-06-13)
I use `example-go-cli` to test CI/CD, so it's not really useful to anyone else.
## Convert to a new project
See [Go Project Notes](https://www.bbkane.com/blog/go-project-notes/#creating-a-new-go-project).
## Use

```bash
example-go-cli hello
```
## Install
- [Homebrew](https://brew.sh/): `brew install bbkane/tap/example-go-cli`
- [Scoop](https://scoop.sh/):
```
scoop bucket add bbkane https://github.com/bbkane/scoop-bucket
scoop install bbkane/example-go-cli
```
- Download Mac/Linux/Windows executable: [GitHub releases](https://github.com/bbkane/example-go-cli/releases)
- Go: `go install go.bbkane.com/example-go-cli@latest`
- Build with [goreleaser](https://goreleaser.com/) after cloning: `goreleaser release --snapshot --clean`
## Notes
See [Go Project Notes](https://www.bbkane.com/blog/go-project-notes/) for notes on development tooling.