Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/earthboundkid/go-cli
Template for creating Go CLIs
https://github.com/earthboundkid/go-cli
boilerplate cli cookiecutter golang template
Last synced: 4 months ago
JSON representation
Template for creating Go CLIs
- Host: GitHub
- URL: https://github.com/earthboundkid/go-cli
- Owner: earthboundkid
- License: mit
- Created: 2019-09-11T16:59:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-26T02:30:18.000Z (almost 2 years ago)
- Last Synced: 2024-06-19T00:26:37.625Z (8 months ago)
- Topics: boilerplate, cli, cookiecutter, golang, template
- Language: Go
- Homepage: https://blog.carlmjohnson.net/post/2020/go-cli-how-to-and-advice/
- Size: 33.2 KB
- Stars: 55
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Go-CLI: A txtar template for creating a Go CLI application
See https://blog.carlmjohnson.net/post/2020/go-cli-how-to-and-advice/ for background on this project.
To use this template to create a Go CLI:
1. Install [Go](https://golang.org) and [springerle](https://github.com/carlmjohnson/springerle)
2. Run `springerle https://github.com/carlmjohnson/go-cli/raw/master/go-cli.txtar` and answer prompts for information.
3. Verify the contents of the files written to disk, then run `./finalize.sh` to download Go dependencies and initialize the git repo.