Open GitHub notifications from your command line
$ npm install --global open-github-notifications
Make sure to create a token off of GitHub and set it in your .bash_profile
as $GITHUB_OGN_TOKEN
.
const openGithubNotifications = require('open-github-notifications');
openGithubNotifications('ipfs', 'go-ipfs', 15);
//=> 'Now opening 15 notifications from ipfs/go-ipfs...''
Type: string
The organization to open.
Type: string
The repository to get notifications for. This can also be included with the organization, with the syntax:
organization/repository
Type: int
Default: 15.
The amount to open (cannot be more than 50 at once). This can also be provided as the last argument.
Type: flag
Default: false.
$ npm install --global open-github-notifications
Open GitHub notifications in your browser
Usage
$ open-github-notifications
$ open-github-notifications <org> <repo> <amount>
$ open-github-notifications <org>/<repo> <amount>
Examples
$ open-github-notifications
Opened 15 notifications.
$ open-github-notifications ipfs go-ipfs 15
Opened 15 notifications.
MIT © Richard Littauer