patrickkang / gh-browse

CLI to quickly browse to Github pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gh-browse

Open relevant Github.com pages directly using a CLI

Inspired by Paul Irish and his lazyweb-request.

Because every README would need a 30-seconds screencast: check this one.

Install

$ npm install -g gh-browse

Usage

Open issues the repo:

$ gh-browse

Open issues in browser:

$ gh-browse issues

Open commit log in browser:

$ gh-browse commits

Open commit log for specified branch:

$ gh-browse commits <branch>

Open PRs:

$ gh-browse pulls

Todo

Pull requests are highly accepted.

  • gh-browse parent: must open the parent (if the project is a fork)
  • gh-browse <branch>: must open homepage in a specific branch
  • gh-browse wiki
  • gh-browse commits HEAD^1
  • Integrate some tests. The initial project was a quick fiddle, but some basic tests might be welcome.
  • Proper up code. It's needed.

License

MIT © Arthur Verschaeve

About

CLI to quickly browse to Github pages


Languages

Language:JavaScript 100.0%