/github-cli

CLI for performing github tasks

Primary LanguageGoMIT LicenseMIT

github-cli

Build Status

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

  • Get Repos
$ github-cli get repos

Create

  • Create Repo
$ github-cli create repo luna

Delete

  • Delete Repo
$ github-cli delete repo luna

Contribution

Development Setup

  1. Clone the repo & cd into it.
  2. Run make dependencies to install all the dependencies.
  3. 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