From cd24d4b489db47a340671036014915569fd9764a Mon Sep 17 00:00:00 2001 From: betegon Date: Tue, 17 Mar 2026 09:49:19 +0100 Subject: [PATCH 1/2] fix(help): hide plural aliases from help output Plural shortcut commands (issues, orgs, logs, etc.) and whoami cluttered the help output alongside the canonical grouped commands. Uses Stricli's hideRoute to suppress them from help and completions while keeping them functional. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/app.ts b/src/app.ts index 431c14c9e..1f67eaf38 100644 --- a/src/app.ts +++ b/src/app.ts @@ -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, + }, }, }); From 93b4a3b9f8dfe0b478023946ccdb7607f3d29d93 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Mar 2026 08:49:57 +0000 Subject: [PATCH 2/2] chore: regenerate SKILL.md --- plugins/sentry-cli/skills/sentry-cli/SKILL.md | 155 ------------------ 1 file changed, 155 deletions(-) diff --git a/plugins/sentry-cli/skills/sentry-cli/SKILL.md b/plugins/sentry-cli/skills/sentry-cli/SKILL.md index c4b1d4938..24d8adfce 100644 --- a/plugins/sentry-cli/skills/sentry-cli/SKILL.md +++ b/plugins/sentry-cli/skills/sentry-cli/SKILL.md @@ -737,161 +737,6 @@ Initialize Sentry in your project - `--features ... - Features to enable: errors,tracing,logs,replay,metrics` - `-t, --team - Team slug to create the project under` -### Issues - -List issues in a project - -#### `sentry issues ` - -List issues in a project - -**Flags:** -- `-q, --query - Search query (Sentry search syntax)` -- `-n, --limit - Maximum number of issues to list - (default: "25")` -- `-s, --sort - Sort by: date, new, freq, user - (default: "date")` -- `-t, --period - Time period for issue activity (e.g. 24h, 14d, 90d) - (default: "90d")` -- `-c, --cursor - Pagination cursor for / 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 - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Orgs - -List organizations - -#### `sentry orgs` - -List organizations - -**Flags:** -- `-n, --limit - Maximum number of organizations to list - (default: "30")` -- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data` -- `--json - Output as JSON` -- `--fields - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Projects - -List projects - -#### `sentry projects ` - -List projects - -**Flags:** -- `-n, --limit - Maximum number of projects to list - (default: "30")` -- `-c, --cursor - Pagination cursor (use "last" to continue from previous page)` -- `-p, --platform - Filter by platform (e.g., javascript, python)` -- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data` -- `--json - Output as JSON` -- `--fields - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Repos - -List repositories - -#### `sentry repos ` - -List repositories - -**Flags:** -- `-n, --limit - Maximum number of repositories to list - (default: "30")` -- `-c, --cursor - 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 - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Teams - -List teams - -#### `sentry teams ` - -List teams - -**Flags:** -- `-n, --limit - Maximum number of teams to list - (default: "30")` -- `-c, --cursor - 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 - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Logs - -List logs from a project - -#### `sentry logs ` - -List logs from a project - -**Flags:** -- `-n, --limit - Number of log entries (1-1000) - (default: "100")` -- `-q, --query - Filter query (Sentry search syntax)` -- `-f, --follow - Stream logs (optionally specify poll interval in seconds)` -- `--trace - Filter logs by trace ID (32-character hex string)` -- `--fresh - Bypass cache, re-detect projects, and fetch fresh data` -- `--json - Output as JSON` -- `--fields - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Spans - -List spans in a trace - -#### `sentry spans ` - -List spans in a trace - -**Flags:** -- `-n, --limit - Number of spans (<=1000) - (default: "25")` -- `-q, --query - Filter spans (e.g., "op:db", "duration:>100ms", "project:backend")` -- `-s, --sort - Sort order: date, duration - (default: "date")` -- `-c, --cursor - 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 - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Traces - -List recent traces in a project - -#### `sentry traces ` - -List recent traces in a project - -**Flags:** -- `-n, --limit - Number of traces (1-1000) - (default: "20")` -- `-q, --query - Search query (Sentry search syntax)` -- `-s, --sort - Sort by: date, duration - (default: "date")` -- `-c, --cursor - 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 - Comma-separated fields to include in JSON output (dot.notation supported)` - -### Trials - -List product trials - -#### `sentry trials ` - -List product trials - -**Flags:** -- `--json - Output as JSON` -- `--fields - 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 - Comma-separated fields to include in JSON output (dot.notation supported)` - ## Global Options All commands support the following global options: