diff --git a/README.md b/README.md index 545af500..043ee6d2 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ here's how it works: ```bash linear config # setup your repo, it writes a config file -linear issue list # list unstarted issues assigned to you -linear issue list -A # list unstarted issues assigned to anyone -linear issue search "login bug" # search issues in your configured team +linear issue mine # list unstarted issues assigned to you +linear issue query --all-teams # query issues across all teams +linear issue query --search "login bug" # search issues in your configured team linear issue start # choose an issue to start, creates a branch linear issue start ABC-123 # start a specific issue linear issue view # see current branch's issue as markdown @@ -135,8 +135,9 @@ linear issue list # list your issues in a table view (supports -s/--state a linear issue list --project "My Project" --milestone "Phase 1" # filter by milestone linear issue list -w # open issue list in web browser linear issue list -a # open issue list in Linear.app -linear issue search "login bug" # search issues by text in your configured team -linear issue search "oauth timeout" --team ENG --json # structured search output for agents +linear issue query --search "login bug" # search issues by text in your configured team +linear issue query --search "oauth timeout" --team ENG --json # structured search output for agents +linear issue query --all-teams --json --limit 0 # export all issues as JSON linear issue start # create/switch to issue branch and mark as started linear issue create # create a new issue (interactive prompts) linear issue create -t "title" -d "description" # create with flags diff --git a/deno.lock b/deno.lock index 13d94898..4f68a90a 100644 --- a/deno.lock +++ b/deno.lock @@ -4,6 +4,7 @@ "jsr:@cliffy/ansi@1": "1.0.0", "jsr:@cliffy/ansi@1.0.0": "1.0.0", "jsr:@cliffy/command@1": "1.0.0", + "jsr:@cliffy/command@1.0.0": "1.0.0", "jsr:@cliffy/flags@1.0.0": "1.0.0", "jsr:@cliffy/internal@1": "1.0.0", "jsr:@cliffy/internal@1.0.0": "1.0.0", @@ -40,6 +41,7 @@ "jsr:@std/testing@^1.0.17": "1.0.17", "jsr:@std/text@^1.0.17": "1.0.17", "jsr:@std/toml@^1.0.11": "1.0.11", + "npm:@graphql-codegen/cli@*": "6.2.1_graphql@16.13.2", "npm:@graphql-codegen/cli@^6.2.1": "6.2.1_graphql@16.13.2", "npm:@graphql-typed-document-node/core@^3.2.0": "3.2.0_graphql@16.13.2", "npm:@types/mdast@^4.0.4": "4.0.4", diff --git a/skills/linear-cli/SKILL.md b/skills/linear-cli/SKILL.md index 76e424fc..b0b3507b 100644 --- a/skills/linear-cli/SKILL.md +++ b/skills/linear-cli/SKILL.md @@ -79,8 +79,8 @@ linear auth migrate linear issue linear issue id -linear issue list -linear issue search +linear issue mine +linear issue query linear issue title linear issue start linear issue view diff --git a/skills/linear-cli/references/issue.md b/skills/linear-cli/references/issue.md index ff3cf152..ae23cb0b 100644 --- a/skills/linear-cli/references/issue.md +++ b/skills/linear-cli/references/issue.md @@ -19,8 +19,8 @@ Options: Commands: id - Print the issue based on the current git branch - list - List your issues - search - Search issues by text + mine, list, l - List your issues + query, q - Query issues with structured filters title [issueId] - Print the issue title start [issueId] - Start working on an issue view, v [issueId] - View issue details (default) or open in browser/app @@ -57,76 +57,78 @@ Options: --workspace - Target workspace (uses credentials) ``` -### list +### mine > List your issues ``` -Usage: linear issue list +Usage: linear issue mine Description: List your issues +Options: + + -h, --help - Show this help. + --workspace - Target workspace (uses credentials) + -s, --state - Filter by issue state (can be repeated for multiple states) (Default: [ "unstarted" ], Values: "triage", "backlog", + "unstarted", "started", "completed", "canceled") + --all-states - Show issues from all states + --sort - Sort order (can also be set via LINEAR_ISSUE_SORT) (Values: "manual", "priority") + --team - Team to list issues for (if not your default team) + --project - Filter by project name + --project-label - Filter by project label name (shows issues from all projects with this label) + --cycle - Filter by cycle name, number, or 'active' + --milestone - Filter by project milestone name (requires --project) + -l, --label