Skip to content

Commit 943668d

Browse files
committed
Merge remote-tracking branch 'origin/main' into refactor/align-list-commands
# Conflicts: # AGENTS.md # src/commands/org/list.ts # src/lib/api/organizations.ts # src/lib/db/regions.ts # src/lib/db/schema.ts
2 parents 5cd67b9 + 011a0dc commit 943668d

File tree

32 files changed

+3887
-98
lines changed

32 files changed

+3887
-98
lines changed

AGENTS.md

Lines changed: 21 additions & 40 deletions
Large diffs are not rendered by default.

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,17 @@ Create a new project
180180
- `--json - Output as JSON`
181181
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
182182

183+
#### `sentry project delete <org/project>`
184+
185+
Delete a project
186+
187+
**Flags:**
188+
- `-y, --yes - Skip confirmation prompt`
189+
- `-f, --force - Force deletion without confirmation`
190+
- `-n, --dry-run - Validate and show what would be deleted without deleting`
191+
- `--json - Output as JSON`
192+
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
193+
183194
#### `sentry project list <org/project>`
184195

185196
List projects
@@ -501,10 +512,44 @@ Update the Sentry CLI to the latest version
501512
**Flags:**
502513
- `--check - Check for updates without installing`
503514
- `--force - Force upgrade even if already on the latest version`
515+
- `--offline - Upgrade using only cached version info and patches (no network)`
504516
- `--method <value> - Installation method to use (curl, brew, npm, pnpm, bun, yarn)`
505517
- `--json - Output as JSON`
506518
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
507519

520+
### Dashboard
521+
522+
Manage Sentry dashboards
523+
524+
#### `sentry dashboard list <org/project>`
525+
526+
List dashboards
527+
528+
**Flags:**
529+
- `-w, --web - Open in browser`
530+
- `-n, --limit <value> - Maximum number of dashboards to list - (default: "30")`
531+
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
532+
- `--json - Output as JSON`
533+
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
534+
535+
#### `sentry dashboard view <args...>`
536+
537+
View a dashboard
538+
539+
**Flags:**
540+
- `-w, --web - Open in browser`
541+
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
542+
- `--json - Output as JSON`
543+
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
544+
545+
#### `sentry dashboard create <args...>`
546+
547+
Create a dashboard
548+
549+
**Flags:**
550+
- `--json - Output as JSON`
551+
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
552+
508553
### Repo
509554

510555
Work with Sentry repositories

src/app.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { apiCommand } from "./commands/api.js";
1111
import { authRoute } from "./commands/auth/index.js";
1212
import { whoamiCommand } from "./commands/auth/whoami.js";
1313
import { cliRoute } from "./commands/cli/index.js";
14+
import { dashboardRoute } from "./commands/dashboard/index.js";
15+
import { listCommand as dashboardListCommand } from "./commands/dashboard/list.js";
1416
import { eventRoute } from "./commands/event/index.js";
1517
import { helpCommand } from "./commands/help.js";
1618
import { initCommand } from "./commands/init.js";
@@ -47,6 +49,7 @@ import { error as errorColor, warning } from "./lib/formatters/colors.js";
4749
* Used to suggest the correct command when users type e.g. `sentry projects view cli`.
4850
*/
4951
const PLURAL_TO_SINGULAR: Record<string, string> = {
52+
dashboards: "dashboard",
5053
issues: "issue",
5154
orgs: "org",
5255
projects: "project",
@@ -64,6 +67,7 @@ export const routes = buildRouteMap({
6467
help: helpCommand,
6568
auth: authRoute,
6669
cli: cliRoute,
70+
dashboard: dashboardRoute,
6771
org: orgRoute,
6872
project: projectRoute,
6973
repo: repoRoute,
@@ -77,6 +81,7 @@ export const routes = buildRouteMap({
7781
init: initCommand,
7882
api: apiCommand,
7983
schema: schemaCommand,
84+
dashboards: dashboardListCommand,
8085
issues: issueListCommand,
8186
orgs: orgListCommand,
8287
projects: projectListCommand,
@@ -95,6 +100,7 @@ export const routes = buildRouteMap({
95100
"sentry is a command-line interface for interacting with Sentry. " +
96101
"It provides commands for authentication, viewing issues, and making API calls.",
97102
hideRoute: {
103+
dashboards: true,
98104
issues: true,
99105
orgs: true,
100106
projects: true,

0 commit comments

Comments
 (0)