Perform github tasks from command line.
Install the cli with the following command
$ go get -u github.com/alok87/github-cli
- Setup Login to access Github
$ github-cli login my_github_oauth_token
- Get Repos
$ github-cli get repos
- Create Repo
$ github-cli create repo luna
- Delete Repo
$ github-cli delete repo luna
- Clone the repo &
cd
into it. - Run
make dependencies
to install all the dependencies. - Run
make install
to build and install the binary.
Add new dependencies with dep ensure -add <projectname>
. This would install
the dependencies under vendor/
and add an entry in Gopkg.toml
and
Gopkg.lock
, which should be checked-in.
github-cli
can easily be extended.