Skip to content

feat: add pagination & field-override flags to search, timeline, ment…#45

Open
FromTX2SJ wants to merge 1 commit intoxdevplatform:mainfrom
FromTX2SJ:feat/search-pagination-flags
Open

feat: add pagination & field-override flags to search, timeline, ment…#45
FromTX2SJ wants to merge 1 commit intoxdevplatform:mainfrom
FromTX2SJ:feat/search-pagination-flags

Conversation

@FromTX2SJ
Copy link

…ions

Add PaginationOptions struct with --since-id, --until-id, --start-time, --end-time, --next-token, --tweet-fields, --user-fields, --expansions flags to the search, timeline, and mentions shortcut commands.

Timeline also gets --exclude (replies,retweets).

These flags enable incremental polling (via since_id) and pagination (via next_token) without falling back to raw API mode.

  • api/shortcuts.go: Add PaginationOptions, update SearchPosts/GetTimeline/GetMentions signatures
  • cli/shortcuts.go: Wire new flags for searchCmd, timelineCmd, mentionsCmd
  • api/shortcuts_test.go: Update TestSearchPosts for new signature
  • SKILL.md: Document new flags with examples and reference table

@CLAassistant
Copy link

CLAassistant commented Mar 8, 2026

CLA assistant check
All committers have signed the CLA.

…ions

Add PaginationOptions struct with --since-id, --until-id, --start-time,
--end-time, --next-token, --tweet-fields, --user-fields, --expansions
flags to the search, timeline, and mentions shortcut commands.

Timeline also gets --exclude (replies,retweets).

These flags enable incremental polling (via since_id) and pagination
(via next_token) without falling back to raw API mode.

- api/shortcuts.go: Add PaginationOptions, update SearchPosts/GetTimeline/GetMentions signatures
- cli/shortcuts.go: Wire new flags for searchCmd, timelineCmd, mentionsCmd
- api/shortcuts_test.go: Update TestSearchPosts for new signature
- SKILL.md: Document new flags with examples and reference table
@FromTX2SJ FromTX2SJ force-pushed the feat/search-pagination-flags branch from 284eeb6 to 49385d9 Compare March 8, 2026 01:21
@santiagomed
Copy link
Collaborator

Hey! Thanks! Could you use post instead of tweet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants