Skip to content

Instantly share code, notes, and snippets.

@afolarin
Last active September 14, 2021 11:19
Show Gist options
  • Save afolarin/79b6c588e2949be9f9e5f52039962f4e to your computer and use it in GitHub Desktop.
Save afolarin/79b6c588e2949be9f9e5f52039962f4e to your computer and use it in GitHub Desktop.
Dump github org repositories into a CSV using Github CLI tool https://github.com/cli/cli
#using https://github.com/cli/cli and jq.
gh repo list -L 80 --json name,description,isArchived,createdAt,updatedAt,url --jq '.[] | [.name, .description, .createdAt, .isArchived, .url]' RADAR-base > radar-base-repos.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment