3 ms·
Five Keys to create a killer CLI in Go
- denysvitali 6y agoIMHO, one of the best ways to create a Go CLI is to start with this awesome library: https://github.com/alexflint/go-arg https://github.com/alexflint/go-arg
- alexellisuk 6y agoMost popular Go CLIs use https://github.com/spf13/cobra https://github.com/spf13/cobra i.e. Docker / K8s / OpenFaaS and similar
- denysvitali 6y agoI honestly find it too verbose, but I can totally see that it is becoming more and more a standard de-facto