A boiler plate project for the popular github.com/urfave/cli previously codegangsta/cli.
go get github.com/robtec/cli-boilerplate
or fork this repo
make install- adds the binary to$GOPATH/binmake build- builds the binary
The Makefile builds the binary and adds the short git commit id and the version to the final build.
The binary is named cli, the parent directory of main.go in cmd/cli/
You can rename the directory to change the name of the final binary
Checkout the github.com/robtec/cli-boilderplate/config package for saving configs to $HOME/.cli