Skip to content

Commit 8ca6cff

Browse files
committed
fix(project): add pagination and org/ syntax to project list
- Follow API cursor pagination so --limit >100 actually works - Add org/ prefix syntax to list projects for a specific org - Add org/project syntax to show a single project directly - Add --cursor/--prev flags for manual page navigation - Add pagination_cursors table (schema v5) with composite PK - Cache cursors per (command_key, context) for independent paging - Clear pagination cursors on auth logout - Regenerate SKILL.md for updated command help
1 parent 66ed8bf commit 8ca6cff

8 files changed

Lines changed: 755 additions & 121 deletions

File tree

plugins/sentry-cli/skills/sentry-cli/SKILL.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,14 @@ sentry org view my-org -w
136136

137137
Work with Sentry projects
138138

139-
#### `sentry project list <org>`
139+
#### `sentry project list <target>`
140140

141141
List projects
142142

143143
**Flags:**
144144
- `-n, --limit <value> - Maximum number of projects to list - (default: "30")`
145145
- `--json - Output JSON`
146+
- `-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)`
146147
- `-p, --platform <value> - Filter by platform (e.g., javascript, python)`
147148

148149
**Examples:**
@@ -532,13 +533,14 @@ List organizations
532533

533534
List projects
534535

535-
#### `sentry projects <org>`
536+
#### `sentry projects <target>`
536537

537538
List projects
538539

539540
**Flags:**
540541
- `-n, --limit <value> - Maximum number of projects to list - (default: "30")`
541542
- `--json - Output JSON`
543+
- `-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)`
542544
- `-p, --platform <value> - Filter by platform (e.g., javascript, python)`
543545

544546
### Logs

0 commit comments

Comments
 (0)