feat: add cursor-based pagination to bookmarks command

- Add --cursor option to resume pagination from a specific point
- Change --max-pages to enable pagination independently
- Return nextCursor in JSON output for subsequent requests

feat: add cursor param and nextCursor to pagination methods

not modifying max-pages
This commit is contained in:
Leon Ho
2026-01-04 23:42:34 +00:00
committed by Peter Steinberger
parent c4fa04e0b2
commit 3442ba84c6
4 changed files with 91 additions and 19 deletions
+2
View File
@@ -241,6 +241,8 @@ export interface SearchResult {
success: boolean;
tweets?: TweetData[];
error?: string;
/** Cursor for fetching the next page of results */
nextCursor?: string;
}
export interface CurrentUserResult {