Skip to content

Instantly share code, notes, and snippets.

@junosuarez
Created January 31, 2019 20:40
Show Gist options
  • Save junosuarez/5218162b39627a0ecf0d7323486474f4 to your computer and use it in GitHub Desktop.
Save junosuarez/5218162b39627a0ecf0d7323486474f4 to your computer and use it in GitHub Desktop.
export repos
cat repos.json | jq '.repos | sort_by(.nameWithOwner) | .[].nameWithOwner | "https://github.com/\(.)"'
# run manually on https://developer.github.com/v4/explorer/
query{
viewer {
name
repositories(first: 100, after: "Y3Vyc29yOnYyOpHOAwxIog==", isFork: false, ownerAffiliations:[OWNER]) {
nodes {
nameWithOwner
}
pageInfo {hasNextPage, endCursor}
}
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment