CLI to generate stats for a GitHub org.
Both JVM and Native mode are supported.
./mvnw clean install
./mvnw clean install -PnativeWhich allows you to run via:
./target/github-stats-*-runner help
java -jar target/quarkus-app/quarkus-run.jar helpRead permissions are required for the OAuth PAT:
export GITHUB_LOGIN=replace
export GITHUB_OAUTH=replaceOnce you've built the code, you can execute the commands, for example:
./target/github-stats-*-runner collect-stats --organization=redhat-cop --csv-output=/tmp/redhat-cop-collect-stats.csv --repository-limit=5For a full list of commands, see: docs