1.0.4 • Published 6 years ago
@jaebradley/gh-stats-cli v1.0.4
gh-stats-cli
Get simple GitHub PR contribution statistics (PRs authored and commented on) via the command line.
Installation
npm install --global @jaebradley/gh-stats-cliUsage
- You'll need a
GitHubpersonal access token to authenticateGitHubAPI requests - The CLI will store the personal access token in the
keychainwhen executingghstats setup - Because the CLI gets details for each PR (like comments, or merge time) it may make a decent number of API calls
- The per hour API limit for personal access tokens is
5,000 - You'll always be asked to confirm that you'd like to make the API calls
- The per hour API limit for personal access tokens is
- You'll need to specify a username
- You can optional specify an
organization - The current options are
ghstats setup- save your personal access token to thekeychainghstats week- gets contributions over the past7daysghstats past-day- gets contributions over the past day (i.e.24hours)
Examples

