mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #38] Auto-pagination for list commands #5
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/38
PRD: Auto-pagination for list commands
Summary
Today pagination is manual (
--limit+--next). Add opt-in auto-pagination to fetch all pages and return aggregated output for list/collection commands.Goals
--paginateflag to list/collection commands.--limitas page size.Non-goals
analytics get --paginatebehavior (separate, already specialized).Commands in scope
feedbackcrashesreviewsappsbuilds listversions listlocalizations list(both appStoreVersion and appInfo)beta-groups listbeta-testers listanalytics requestssandbox listCLI behavior
--paginate(bool) to each command above.--paginateand--nextare both provided: start at--nextand continue untillinks.nextis empty.--paginateis provided without--next: start from the initial request.--limitcontinues to apply per page.nextURL).Output semantics
dataacross pages into a single response.links.self: from the first pagelinks.next: empty/omitted in final outputlinks.prev: empty/omitted in final outputImplementation plan
cmd/commands.goorinternal/asc) that:func(next string) (response, error)links.nextuntil emptydataand returns a single response--paginateand use the helper when set.--next(reusevalidateNextURL).Test plan
next, error midstream).nextURL usage.--paginatebehavior:--paginatewithout--next--paginatewith--nextDocumentation
README.md+Agents.mdwith--paginateguidance on list commands.Risks / edge cases
datawithlinks.nextstill present; continue untilnextis empty.@rudrankriyam commented on GitHub (Jan 21, 2026):
Completed via #39 and security hardening commits