Hacker News new | ask | show | jobs
by sandreas 2211 days ago
My Opinion:

The best cli lib I found: https://github.com/urfave/cli

For deployment I recommend: https://github.com/goreleaser/goreleaser

During development I recommend: https://github.com/golangci/golangci-lint and https://github.com/stretchr/testify

2 comments

I 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.
I 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.
Agreed! urfave/cli is very handy.