Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #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
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
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