Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 0 additions & 155 deletions plugins/sentry-cli/skills/sentry-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -737,161 +737,6 @@ Initialize Sentry in your project
- `--features <value>... - Features to enable: errors,tracing,logs,replay,metrics`
- `-t, --team <value> - Team slug to create the project under`

### Issues

List issues in a project

#### `sentry issues <org/project>`

List issues in a project

**Flags:**
- `-q, --query <value> - Search query (Sentry search syntax)`
- `-n, --limit <value> - Maximum number of issues to list - (default: "25")`
- `-s, --sort <value> - Sort by: date, new, freq, user - (default: "date")`
- `-t, --period <value> - Time period for issue activity (e.g. 24h, 14d, 90d) - (default: "90d")`
- `-c, --cursor <value> - Pagination cursor for <org>/ or multi-target modes (use "last" to continue)`
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--compact - Single-line rows for compact output (auto-detects if omitted)`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Orgs

List organizations

#### `sentry orgs`

List organizations

**Flags:**
- `-n, --limit <value> - Maximum number of organizations to list - (default: "30")`
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Projects

List projects

#### `sentry projects <org/project>`

List projects

**Flags:**
- `-n, --limit <value> - Maximum number of projects to list - (default: "30")`
- `-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)`
- `-p, --platform <value> - Filter by platform (e.g., javascript, python)`
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Repos

List repositories

#### `sentry repos <org/project>`

List repositories

**Flags:**
- `-n, --limit <value> - Maximum number of repositories to list - (default: "30")`
- `-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)`
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Teams

List teams

#### `sentry teams <org/project>`

List teams

**Flags:**
- `-n, --limit <value> - Maximum number of teams to list - (default: "30")`
- `-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)`
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Logs

List logs from a project

#### `sentry logs <org/project>`

List logs from a project

**Flags:**
- `-n, --limit <value> - Number of log entries (1-1000) - (default: "100")`
- `-q, --query <value> - Filter query (Sentry search syntax)`
- `-f, --follow <value> - Stream logs (optionally specify poll interval in seconds)`
- `--trace <value> - Filter logs by trace ID (32-character hex string)`
- `--fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Spans

List spans in a trace

#### `sentry spans <org/project/trace-id...>`

List spans in a trace

**Flags:**
- `-n, --limit <value> - Number of spans (<=1000) - (default: "25")`
- `-q, --query <value> - Filter spans (e.g., "op:db", "duration:>100ms", "project:backend")`
- `-s, --sort <value> - Sort order: date, duration - (default: "date")`
- `-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)`
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Traces

List recent traces in a project

#### `sentry traces <org/project>`

List recent traces in a project

**Flags:**
- `-n, --limit <value> - Number of traces (1-1000) - (default: "20")`
- `-q, --query <value> - Search query (Sentry search syntax)`
- `-s, --sort <value> - Sort by: date, duration - (default: "date")`
- `-c, --cursor <value> - Pagination cursor (use "last" to continue from previous page)`
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Trials

List product trials

#### `sentry trials <org>`

List product trials

**Flags:**
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

### Whoami

Show the currently authenticated user

#### `sentry whoami`

Show the currently authenticated user

**Flags:**
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`

## Global Options

All commands support the following global options:
Expand Down
12 changes: 12 additions & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@ export const routes = buildRouteMap({
fullDescription:
"sentry is a command-line interface for interacting with Sentry. " +
"It provides commands for authentication, viewing issues, and making API calls.",
hideRoute: {
issues: true,
orgs: true,
projects: true,
repos: true,
teams: true,
logs: true,
spans: true,
traces: true,
trials: true,
whoami: true,
},
},
});

Expand Down
Loading