githubstats

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2024 License: GPL-2.0 Imports: 8 Imported by: 0

README

githubstats

Go Report Card Release Coverage Status

A golang application to return stats from github via their graphql endpoint

Requirements

This tool requires a github personal access token to work, the token needs to repo permissions.

You need to export the token before running the tool, it has to be named GITHUB_TOKEN

export GITHUB_TOKEN=ghp_sdasdasdewsadsdad2asdsadasdas

Usage

Usage of githubstats:
  -orgs string
    	a list of orgs separated by commas (default "standouthost")
  -since string
    	yyyy-mm-dd date to check for stats since (default "2022-01-01")
  -user string
    	Github Username (default "Jmainguy")
  -verbose
    	print verbose information about each contribution or not

Example

[jmainguy@jmainguy githubstats]$ export GITHUB_TOKEN=ghp_sdasdasdewsadsdad2asdsadasdas
[jmainguy@jmainguy githubstats]$ githubstats 
Total PR's Opened 7
Total PR's Merged 5
Total Reviews 3

PreBuilt Binaries

Grab Binaries from The Releases Page

Install

Homebrew
brew install Jmainguy/tap/githubstats

Build

export GO111MODULE=on
go build

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL