DizGit CLI tool for getting latest GitHub Repository Releases and/or latest Pull Requests
Go standard library has a flag pkg that makes building CLIs pretty painless, and was used here.
- Have Go (v1.16.6) installed and GOPATH and or GOROOT configured: https://golang.org/doc/gopath_code
From within this directory run go build dizgit.go
, and it should create the dizgit
executable.
Optionally, you can move the executable to /usr/local/bin
to make it available outside of this directory.
dizgit --repo https://github.com/user/repo.git --releases
dizgit --repo https://github.com/user/repo.git --pullrequests
dizgit --repo https://github.com/user/repo.git --releases --pullrequests