graham-campbell/github-notifications

Reduce your notification burden on GitHub!

Fund package maintenance!
GrahamCampbell

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 21

Watchers: 0

Forks: 1

Open Issues: 0

Type:project

v3.0.3 2021-10-17 20:12 UTC

This package is auto-updated.

Last update: 2021-10-17 20:15:44 UTC


README

GitHub Notifications was created by, and is maintained by Graham Campbell, and is a simple command line tool to mark all notifications about issues or rejected PRs as read on a given organization. Feel free to check out the releases, security policy, license, code of conduct, and contribution guidelines.

Banner

Build Status StyleCI Status Software License Latest Version

Installation

PHP 7.2-8.1 is required. To get the latest version, simply require the project using Composer:

$ composer global require "graham-campbell/github-notifications:^3.0"

Alternatively, you can simply clone the repo and run composer install in the folder.

Authentication

You'll also need to create yourself a personal access token for GitHub's API with access to the notifications scope.

Usage

By default, we'll try and read your personal access token for GitHub from the GITHUB_TOKEN environment variable, however you can also specify a token with the --token command-line flag.

To clear all issue notifications for the Laravel organization:

$ notifications clear laravel

Or, if you are specifying a token:

$ notifications clear laravel --token {...}

Building

The following documentation is for contributors to this package only.

To build the phar file, run:

$ make composer-install
$ make box-compiler

Security

If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. You may view our full security policy here.

License

GitHub Notifications is licensed under The MIT License (MIT).