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.
$ npm install -g gh-browse
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
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.
MIT © Arthur Verschaeve