golang-cli-template
golang-cli-template copied to clipboard
Todo
- [x] Add manpage
- [x] Completion
- [x] Docker goreleaser
- [x] Goreleaser changelog
- [x] Commitlint
- [ ] use tbc for the gitlab ci
A bit of feedback as a first time user:
- I would add a section on how to add a sub command. Right now with cobra its as easy as running
cobra-cli add mysubcommand, whereas this layout won't accept this method. - What is the version command meant to do and what is the
d4sva binary? - Allow users to select a license (and copyright name / email) and set that in
LICENSEand as a header at the top of every file (something available with cobra-cli againcobra-cli init --author "Luke Hinds [email protected]" --license apache
Hi @lukehinds,
thanks for the feedback I will look into cobra-cli usage with this template. I never used that but thats a valid point.
d4sva binary are some missed leftovers of another project from where I started that template. I removed those now. good catch :)