3 ms·
My Opinion: The best cli lib I found: https://github.com/urfave/cli https://github.com/urfave/cli For deployment I recommend: https://github.com/goreleaser/
by sandreas 6y ago
My Opinion:
The best cli lib I found:
https://github.com/urfave/cli https://github.com/urfave/cli
For deployment I recommend:
https://github.com/goreleaser/goreleaser https://github.com/goreleaser/goreleaser
During development I recommend:
https://github.com/golangci/golangci-lint https://github.com/golangci/golangci-lint and https://github.com/stretchr/testify https://github.com/stretchr/testify
- aladine 6y agoAgreed! urfave/cli is very handy.
- csixty4 6y agoI only recently discovered goreleaser and I can't get over how simple it was to add to my CI setup. Distributing binaries was my goal for having a "real" open source project people could use. After a year of avoiding the issue, I discovered goreleaser and got it running in less than an hour.
- sandreas 6y agoI wrote a few small cli tools and the first 2 things i always add is urfave cli and goreleaser... even if you only deploy and use local, this is a great way to release getopt compilant multiple platform builds with or without subcommands.