Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-analyzer

Utilizes Github GraphQL API to get simple statistics about author contributions for given organization.

Usage

With API token

deno run --allow-net src/index.ts [OPTIONS]

OPTIONS:
        -s <STRING> (required)  Github login of the subject
        -r <STRING> (required)  Github repository owner (analytics will be done only against the owner's repos)
        -t <STRING> (required)  Github API token
        -d <STRING> (required)  Date threshold, PRs older than this will be ignored. Use format yyyy-mm-dd

With GitHub CLI

Uses gh api graphql instead of direct API calls. Requires gh to be installed and authenticated (gh auth login) with the read:user scope.

deno run --allow-run=gh --allow-import src/index.ts [OPTIONS]

OPTIONS:
        -s <STRING> (required)  Github login of the subject
        -r <STRING> (required)  Github repository owner (analytics will be done only against the owner's repos)
        -d <STRING> (required)  Date threshold, PRs older than this will be ignored. Use format yyyy-mm-dd
        -g          (required)  Use gh CLI for GraphQL queries

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages