0.0.8 • Published 8 years ago

open-github-notifications v0.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

open-github-notifications Build Status

Open GitHub notifications from your command line

Install

$ 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.

Usage

const openGithubNotifications = require('open-github-notifications');

openGithubNotifications('ipfs', 'go-ipfs', 15);
//=> 'Now opening 15 notifications from ipfs/go-ipfs...''

API

openGithubNotifications(organization, repository, amount)

organization

Type: string

The organization to open.

repository

Type: string

The repository to get notifications for. This can also be included with the organization, with the syntax:

organization/repository

-a, amount

Type: int Default: 15.

The amount to open (cannot be more than 50 at once). This can also be provided as the last argument.

-p, participating

Type: flag Default: false.

CLI

$ 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.

License

MIT © Richard Littauer

0.0.8

8 years ago

0.0.7

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago