Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.