Skip to content

Commit a0e61bd

Browse files
committed
Deploy preview for PR 966 🛫
1 parent 103858d commit a0e61bd

123 files changed

Lines changed: 14160 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"skills": [
3+
{
4+
"name": "sentry-cli",
5+
"description": "Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI.",
6+
"files": [
7+
"SKILL.md",
8+
"references/api.md",
9+
"references/auth.md",
10+
"references/cli.md",
11+
"references/dashboard.md",
12+
"references/event.md",
13+
"references/explore.md",
14+
"references/init.md",
15+
"references/issue.md",
16+
"references/log.md",
17+
"references/org.md",
18+
"references/project.md",
19+
"references/release.md",
20+
"references/replay.md",
21+
"references/repo.md",
22+
"references/schema.md",
23+
"references/sourcemap.md",
24+
"references/span.md",
25+
"references/team.md",
26+
"references/trace.md",
27+
"references/trial.md"
28+
]
29+
}
30+
]
31+
}

‎_preview/pr-966/.well-known/skills/sentry-cli/SKILL.md‎

Lines changed: 504 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
name: sentry-cli-api
3+
version: 0.34.0-dev.0
4+
description: Make an authenticated API request
5+
requires:
6+
bins: ["sentry"]
7+
auth: true
8+
---
9+
10+
# API Commands
11+
12+
Make an authenticated API request
13+
14+
### `sentry api <endpoint>`
15+
16+
Make an authenticated API request
17+
18+
**Flags:**
19+
- `-X, --method <value> - The HTTP method for the request - (default: "GET")`
20+
- `-d, --data <value> - Inline JSON body for the request (like curl -d)`
21+
- `-F, --field <value>... - Add a typed parameter (key=value, key[sub]=value, key[]=value)`
22+
- `-f, --raw-field <value>... - Add a string parameter without JSON parsing`
23+
- `-H, --header <value>... - Add a HTTP request header in key:value format`
24+
- `--input <value> - The file to use as body for the HTTP request (use "-" to read from standard input)`
25+
- `--silent - Do not print the response body`
26+
- `--verbose - Include full HTTP request and response in the output`
27+
- `-n, --dry-run - Show the resolved request without sending it`
28+
29+
**Examples:**
30+
31+
```bash
32+
# List organizations
33+
sentry api organizations/
34+
35+
# Get a specific issue
36+
sentry api issues/123456789/
37+
38+
# Create a release
39+
sentry api organizations/my-org/releases/ \
40+
-X POST -F version=1.0.0
41+
42+
# With inline JSON body
43+
sentry api issues/123456789/ \
44+
-X POST -d '{"status": "resolved"}'
45+
46+
# Update an issue status
47+
sentry api issues/123456789/ \
48+
-X PUT -F status=resolved
49+
50+
# Assign an issue
51+
sentry api issues/123456789/ \
52+
-X PUT --field assignedTo="user@example.com"
53+
54+
sentry api projects/my-org/my-project/ -X DELETE
55+
56+
# Add custom headers
57+
sentry api organizations/ -H "X-Custom: value"
58+
59+
# Read body from a file
60+
sentry api projects/my-org/my-project/releases/ -X POST --input release.json
61+
62+
# Verbose mode (shows full HTTP request/response)
63+
sentry api organizations/ --verbose
64+
65+
# Preview the request without sending
66+
sentry api organizations/ --dry-run
67+
```
68+
69+
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
name: sentry-cli-auth
3+
version: 0.34.0-dev.0
4+
description: Authenticate with Sentry
5+
requires:
6+
bins: ["sentry"]
7+
auth: true
8+
---
9+
10+
# Auth Commands
11+
12+
Authenticate with Sentry
13+
14+
### `sentry auth login`
15+
16+
Authenticate with Sentry
17+
18+
**Flags:**
19+
- `--token <value> - Authenticate using an API token instead of OAuth`
20+
- `--timeout <value> - Timeout for OAuth flow in seconds (default: 900) - (default: "900")`
21+
- `--force - Re-authenticate without prompting`
22+
- `--url <value> - Sentry instance URL to authenticate against (e.g. https://sentry.example.com). Required for self-hosted; defaults to SaaS (https://sentry.io).`
23+
24+
**Examples:**
25+
26+
```bash
27+
sentry auth login
28+
29+
sentry auth login --token YOUR_SENTRY_API_TOKEN
30+
31+
SENTRY_URL=https://sentry.example.com sentry auth login
32+
33+
SENTRY_URL=https://sentry.example.com sentry auth login --token YOUR_TOKEN
34+
```
35+
36+
### `sentry auth logout`
37+
38+
Log out of Sentry
39+
40+
**Examples:**
41+
42+
```bash
43+
sentry auth logout
44+
```
45+
46+
### `sentry auth refresh`
47+
48+
Refresh your authentication token
49+
50+
**Flags:**
51+
- `--force - Force refresh even if token is still valid`
52+
53+
**Examples:**
54+
55+
```bash
56+
sentry auth refresh
57+
```
58+
59+
### `sentry auth status`
60+
61+
View authentication status
62+
63+
**Flags:**
64+
- `--show-token - Show the stored token (masked by default)`
65+
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
66+
67+
**Examples:**
68+
69+
```bash
70+
sentry auth status
71+
72+
# Show the raw token
73+
sentry auth status --show-token
74+
75+
# View current user
76+
sentry auth whoami
77+
```
78+
79+
### `sentry auth token`
80+
81+
Print the stored authentication token
82+
83+
**Examples:**
84+
85+
```bash
86+
sentry auth token
87+
```
88+
89+
### `sentry auth whoami`
90+
91+
Show the currently authenticated identity
92+
93+
**Flags:**
94+
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
95+
96+
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
name: sentry-cli-cli
3+
version: 0.34.0-dev.0
4+
description: CLI-related commands
5+
requires:
6+
bins: ["sentry"]
7+
auth: true
8+
---
9+
10+
# CLI Commands
11+
12+
CLI-related commands
13+
14+
### `sentry cli defaults <key value...>`
15+
16+
View and manage default settings
17+
18+
**Flags:**
19+
- `--clear - Clear the specified default, or all defaults if no key is given`
20+
- `-y, --yes - Skip confirmation prompt`
21+
- `-f, --force - Force the operation without confirmation`
22+
23+
### `sentry cli feedback <message...>`
24+
25+
Send feedback about the CLI
26+
27+
**Examples:**
28+
29+
```bash
30+
# Send positive feedback
31+
sentry cli feedback i love this tool
32+
33+
# Report an issue
34+
sentry cli feedback the issue view is confusing
35+
```
36+
37+
### `sentry cli fix`
38+
39+
Diagnose and repair CLI database issues
40+
41+
**Flags:**
42+
- `--dry-run - Show what would be fixed without making changes`
43+
44+
**Examples:**
45+
46+
```bash
47+
sentry cli fix
48+
```
49+
50+
### `sentry cli setup`
51+
52+
Configure shell integration
53+
54+
**Flags:**
55+
- `--install - Install the binary from a temp location to the system path`
56+
- `--method <value> - Installation method (curl, npm, pnpm, bun, yarn)`
57+
- `--channel <value> - Release channel to persist (stable or nightly)`
58+
- `--no-modify-path - Skip PATH modification`
59+
- `--no-completions - Skip shell completion installation`
60+
- `--no-agent-skills - Skip agent skill installation for AI coding assistants`
61+
- `--quiet - Suppress output (for scripted usage)`
62+
63+
**Examples:**
64+
65+
```bash
66+
# Run full setup (PATH, completions, agent skills)
67+
sentry cli setup
68+
69+
# Skip agent skill installation
70+
sentry cli setup --no-agent-skills
71+
72+
# Skip PATH and completion modifications
73+
sentry cli setup --no-modify-path --no-completions
74+
```
75+
76+
### `sentry cli upgrade <version>`
77+
78+
Update the Sentry CLI to the latest version
79+
80+
**Flags:**
81+
- `--check - Check for updates without installing`
82+
- `--force - Force upgrade even if already on the latest version`
83+
- `--offline - Upgrade using only cached version info and patches (no network)`
84+
- `--method <value> - Installation method to use (curl, brew, npm, pnpm, bun, yarn)`
85+
86+
**Examples:**
87+
88+
```bash
89+
sentry cli upgrade --check
90+
91+
# Upgrade to latest stable
92+
sentry cli upgrade
93+
94+
# Upgrade to a specific version
95+
sentry cli upgrade 0.5.0
96+
97+
# Force re-download
98+
sentry cli upgrade --force
99+
100+
# Switch to nightly builds
101+
sentry cli upgrade nightly
102+
103+
# Switch back to stable
104+
sentry cli upgrade stable
105+
```
106+
107+
All commands also support `--json`, `--fields`, `--help`, `--log-level`, and `--verbose` flags.

0 commit comments

Comments
 (0)