node-gh / gh

(DEPRECATED) GitHub CLI made with NodeJS. Use the official https://cli.github.com/ instead.
http://nodegh.io
Other
1.71k stars 217 forks source link

List per user notifications #477

Open PeterDaveHello opened 7 years ago

PeterDaveHello commented 7 years ago

Not sure if you'd like to have this feature, just list all the notifications of my GitHub account, looks very useful to me :)

henvic commented 7 years ago

It would be cool and I would merge a pull request for that.

I shouldn't be able to work on this myself anytime soon.

protoEvangelion commented 4 years ago

Looks like this can be easily achieved with the newly added octokit api: https://octokit.github.io/rest.js/#octokit-routes-activity-list-notifications

For an example use the latest cmd: https://github.com/node-gh/gh/blob/c1f8cf2fea4961736c4f130af11f24983f4f90fb/src/cmds/notification.ts#L80

We could add a new flag like --list