Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #22: Handle pagination for organisation/user 📄
Current page can be set via a new '--page' flag (default: 1): $ gh collab-scanner --org softwarevidal --page 2 $ gh collab-scanner --user nicokosi --page 2 Page size is hard-coded to 100. PS: - I could not retrieve pagination info (page x on y) because of this limitation 😭: cli/go-gh#23 - I tried to guess current page via Exec for "gh repo list $user --json id --limit 1000" but response time was very slow. 🐌 See https://github.com/cli/go-gh/blob/trunk/example_gh_test.go#L16
- Loading branch information