feat: Add --all flag for automatic pagination
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 1
- Avg merge
- 6h 3m
- Merged PRs (30d)
- 33
Description
Summary
Add --all flag to list commands that automatically fetches all pages.
Details
Currently users must manually increment --offset to paginate through results. Add an --all flag that loops through pages until pagination.nextPath is null.
Example
# Fetch all documents automatically
outline document list --all
Effort
1 day
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the list command implementations and existing --offset pagination handling, then trace how pagination.nextPath is exposed. Done means --all fetches successive pages until pagination.nextPath is null, as in the document list example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100