Last active
May 8, 2020 14:11
-
-
Save adunstan/6fd1c167e772276701e19457d235ddf5 to your computer and use it in GitHub Desktop.
get a list of repos for an org and the private flag via github API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H "Authorization: token $token" -s "https://api.github.com/orgs/$orgname/repos?per_page=100&page=$pagenum" | \ | |
jq -c -r '.[]|[.html_url, .private]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment