[go: up one dir, main page]

Skip to content

daniel-leinweber/gh-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

GitHub CLI Notifications Extension

gh extension to interact with GitHub notifications.

Prerequisites

You need to install fzf in order to use the interactive mode. Otherwise you will have to add the -s flag at all times.

Installation

gh extension install daniel-leinweber/gh-notifications

Usage

> gh notifications # view unread notifications
> gh notifications -r # mark all notifications as read
> gh notifications -h # show help 
Usage: gh notifications [--flags]

View and search GitHub notifications. When using fzf you can
select the associated pull request or issue by hitting enter
to get more info on it.

Flags:
    -a      include all notifications 
    -r      mark all notifications as read 
    -s      print a static output list (do not use fzf)
    -p      show only participating or mention notifications
    -n      max number of notifications to show (default 30)

Possible issues

If you are facing an error like '\r': command not found you might need to modify the line endings of the gh-notifications file as follows:

sed -i 's/\r$//' filename

Here filename needs to be the full path of the gh-notifications script file.

About

A GitHub CLI extension to interact with GitHub notifications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages