A template repo for simple go command binaries with simple Makefile, GitHub Actions, and go modules demonstrated.
Search for go-cmd-template
and replace with the desired name of the newly created command.
go-cmd-template -opt arg1 arg2
Simply use go get
to install
go get github.com/neilpa/go-cmd-template
go-cmd-template [options] [arguments]