Utilizes Github GraphQL API to get simple statistics about author contributions for given organization.
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
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