Skip to content

feat: add --created-after and --updated-after filters to issue list#191

Draft
jholm117 wants to merge 1 commit intoschpet:mainfrom
jholm117:worktree-agent-ad15b268
Draft

feat: add --created-after and --updated-after filters to issue list#191
jholm117 wants to merge 1 commit intoschpet:mainfrom
jholm117:worktree-agent-ad15b268

Conversation

@jholm117
Copy link
Contributor

Summary

  • Adds --created-after <date> and --updated-after <date> options to the issue list command
  • Leverages the Linear GraphQL API's DateComparator (gte operator) on IssueFilter.createdAt and IssueFilter.updatedAt
  • Invalid date strings are rejected early with a ValidationError including a suggestion for the expected format (ISO 8601 / YYYY-MM-DD)

Test plan

  • Snapshot test updated for new help text output
  • Unit tests verify ValidationError is thrown for invalid --created-after values
  • Unit tests verify ValidationError is thrown for invalid --updated-after values
  • deno check src/main.ts passes
  • deno lint passes

🤖 Generated with Claude Code

Add date filter options to `issue list` that leverage the Linear API's
DateComparator on createdAt and updatedAt fields. Invalid date strings
are rejected early with a ValidationError and a helpful suggestion.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant