Conversation
Adds --query, --updated-after, --created-after, --no-parent globals. Date flags accept ISO 8601 dates and negative durations (-P7D). Refs: #4
There was a problem hiding this comment.
Pull request overview
Adds richer, first-class filtering to linear issues list by introducing new global flags (--query, --updated-after, --created-after, --no-parent) and implementing the corresponding local-filter logic used during paging/drain.
Changes:
- Added new global CLI flags and wired them into
GlobalOptions. - Implemented date-boundary parsing (ISO date or relative ISO-8601 duration) and additional
matchesIssuepredicates. - Extended CLI help examples and added unit tests for
parseDateBoundary+ newmatchesIssuecases.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/cli/tests/query.test.ts | Adds unit coverage for parseDateBoundary and new matchesIssue filters. |
| packages/cli/src/runtime/query.ts | Implements date parsing and new issue filter predicates; updates local-filter detection. |
| packages/cli/src/runtime/options.ts | Plumbs new flags into GlobalOptions parsing. |
| packages/cli/src/index.ts | Registers new global CLI options and help text for them. |
| packages/cli/src/help/root-help.ts | Adds usage examples demonstrating new filters. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Build issue matcher once per command so --updated-after/--created-after boundaries parse a single time. Throw a clear error on invalid input instead of silently filtering out every result. Refs: #4
github-actions Bot
pushed a commit
that referenced
this pull request
May 9, 2026
# [1.5.0-alpha.3](v1.5.0-alpha.2...v1.5.0-alpha.3) (2026-05-09) ### Features * **cli:** add --parent filter to issues list ([#18](#18)) ([e1e8f21](e1e8f21)), closes [#3](#3) * **cli:** richer filters for issues list ([#17](#17)) ([34d98bd](34d98bd)), closes [#4](#4) * **cli:** show per-resource filters, examples, input field hints in subcommand help ([#19](#19)) ([5818d1e](5818d1e)), closes [#7](#7)
|
🎉 This PR is included in version 1.5.0-alpha.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
github-actions Bot
pushed a commit
that referenced
this pull request
May 9, 2026
# [1.5.0](v1.4.0...v1.5.0) (2026-05-09) ### Features * **cli:** add --parent filter to issues list ([#18](#18)) ([e1e8f21](e1e8f21)), closes [#3](#3) * **cli:** add linear cli v2 foundations ([#2](#2)) ([854d165](854d165)) * **cli:** improve help discoverability for subcommands ([#1](#1)) ([702ebce](702ebce)) * **cli:** richer filters for issues list ([#17](#17)) ([34d98bd](34d98bd)), closes [#4](#4) * **cli:** show per-resource filters, examples, input field hints in subcommand help ([#19](#19)) ([5818d1e](5818d1e)), closes [#7](#7)
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds first-class filter flags to
linear issues listso agents/scripts can narrow results without broad workspace scans.New globals:
--query(search identifier/title/description),--updated-after,--created-after(ISO date or negative ISO 8601 duration like-P7D), and--no-parent(top-level issues only). Filters compose with existing--state/--assignee/--project/--label/--priorityand respect--limit/--cursorpaging via the existing local-filter drain path.Help text and tests added for
parseDateBoundaryplus the newmatchesIssuecases.Refs: #4