A small CLI utility library I am playing around with to wrap my fingers around go.
- Clone the repository to your go workspace (check your $GOPATH env var where yours is located, mine is ~/workspaces/go. So I would run
$ git clone [email protected]:worp1900/worp.git ~/workspaces/go/src/github.com/worp1900/worp
). - Then run
go install github.com/worp1900/worp
to install the binaries. - Finally, to see available functionality in worp, run
$ worp
(without parameters) to see all command available.
Note: Make sure your $GOPATH is in your PATH. This way you'll be able to run the binaries directly, without adding their full path.
Thanks to http://thenewstack.io/cli-command-line-programming-with-go/ - helped me a lot!