-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle pagination via --page
flags for organisation flag (--org
) and user flag (--user
)
#22
Labels
enhancement
New feature or request
Comments
This was referenced Mar 11, 2022
nicokosi
added a commit
that referenced
this issue
Mar 14, 2022
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.
nicokosi
added a commit
that referenced
this issue
Mar 14, 2022
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
nicokosi
added a commit
that referenced
this issue
Mar 14, 2022
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
nicokosi
added a commit
that referenced
this issue
Mar 14, 2022
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
nicokosi
added a commit
that referenced
this issue
Mar 14, 2022
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related resources:
The text was updated successfully, but these errors were encountered: