Skip to content

feat: add segments contacts command to list contacts in a segment#265

Merged
felipefreitag merged 1 commit intomainfrom
worktree-segments-contacts
Apr 14, 2026
Merged

feat: add segments contacts command to list contacts in a segment#265
felipefreitag merged 1 commit intomainfrom
worktree-segments-contacts

Conversation

@felipefreitag
Copy link
Copy Markdown
Contributor

@felipefreitag felipefreitag commented Apr 14, 2026

Maps to GET /segments/:segment_id/contacts via resend.contacts.list({ segmentId }). Supports --limit, --after, --before pagination flags and interactive segment picker.


Summary by cubic

Add resend segments contacts to list contacts in a segment from the CLI. Supports cursor pagination and an interactive segment picker.

  • New Features
    • New subcommand segments contacts [segmentId] mapping to resend.contacts.list({ segmentId }) (GET /segments/:segment_id/contacts).
    • Pagination via --limit (1–100, default 10), --after, and --before (mutually exclusive).
    • Interactive segment picker when segmentId is omitted; renders a contacts table with pagination hints.
    • Updated segments help and references with examples; bumped CLI skill version to 1.12.0.

Written for commit b2fab29. Summary will update on new commits.

@felipefreitag felipefreitag requested a review from vcapretz April 14, 2026 18:20
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Maps to GET /segments/:segment_id/contacts via resend.contacts.list({ segmentId }).
Supports --limit, --after, --before pagination flags and interactive segment picker.
@felipefreitag felipefreitag force-pushed the worktree-segments-contacts branch from ca6a34d to b2fab29 Compare April 14, 2026 18:28
@felipefreitag felipefreitag merged commit 8bd8ad5 into main Apr 14, 2026
7 checks passed
@felipefreitag felipefreitag deleted the worktree-segments-contacts branch April 14, 2026 18:30
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.

2 participants