@jaebradley/gh-stats-cli
GitHub Contribution Statistics CLI
Last updated 3 months ago by jaebradley .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @jaebradley/gh-stats-cli 
SYNC missed versions from official npm registry.

gh-stats-cli

Greenkeeper badge Build Status codecov npm npm-total-downloads GitHub

Get simple GitHub PR contribution statistics (PRs authored and commented on) via the command line.

Installation

npm install --global @jaebradley/gh-stats-cli

Usage

  • You'll need a GitHub personal access token to authenticate GitHub API requests
  • The CLI will store the personal access token in the keychain when executing ghstats 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
  • 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 the keychain
    • ghstats week - gets contributions over the past 7 days
    • ghstats past-day - gets contributions over the past day (i.e. 24 hours)

Examples

first

second

Current Tags

  • 1.0.4                                ...           latest (3 months ago)

5 Versions

  • 1.0.4                                ...           3 months ago
  • 1.0.3                                ...           3 months ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |