github-cli
Perform github tasks from command line.
Prerequisite
Installation
Install the cli with the following command
$ go get -u github.com/alok87/github-cli
Usage
Login
- Setup Login to access Github
$ github-cli login my_github_oauth_token
Get
$ github-cli get repos
Create
$ github-cli create repo luna
Delete
$ github-cli delete repo luna
Contribution
Development Setup
- Clone the repo &
cd
into it.
- Run
make dependencies
to install all the dependencies.
- Run
make install
to build and install the binary.
Dependencies
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.
Resources:
github-cli
can easily be extended.
Pull requests are welcome !
Other CLIs made in similar fashion