go-cli
go-cli copied to clipboard
Template for creating Go CLIs
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:
- Install Go and springerle
- Run
springerle https://github.com/carlmjohnson/go-cli/raw/master/go-cli.txtarand answer prompts for information. - Verify the contents of the files written to disk, then run
./finalize.shto download Go dependencies and initialize the git repo.