github-api-cli provides an executable called gac, that can be used to access all of GitHub’s public API functionality from your command-line
github-api-cli is written in cobra
brew tap thamaraiselvam/stable
brew install github-api-cli
github-api-cli info <username>
github-api-cli list followers <username>
github-api-cli info following <username>
Run
$ git clone https://github.com/thamaraiselvam/git-api-cli.git
$ cd git-api-cli
$ go install
$ make setup
$ make build