Skip to content

GoranP/gitlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple tool that uses graphql to enumerate repos in organization

Export valid Github token in environemnt variable GITHUB_TOKEN

Clone the code https://github.com/GoranP/gitlist.git

Compile code:

go get
go build

Run binary:

./gitlist -h
Usage:
  gitlist --outputcsv=<file> --orgs=<file>
  gitlist --orgs=<file> --rawjson
  gitlist -h | --help

Processed results will be stored in CSV file (--outputcsv) for Excel import.

List of organizations are in separate text file (--orgs).

Eg of file:

org 1
org 2

For convenience it is possible to get raw unprocessed json in console output that is result of GraphQL query with --rawjson flag.

About

Analyze Git repo with GraphQL queries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages