File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed
docs/src/content/docs/commands Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ The Sentry CLI provides commands for interacting with various Sentry resources.
1313| [ ` cli ` ] ( ./cli/ ) | CLI-related commands (feedback, upgrade) |
1414| [ ` org ` ] ( ./org/ ) | Organization operations |
1515| [ ` project ` ] ( ./project/ ) | Project operations |
16+ | [ ` team ` ] ( ./team/ ) | Team operations |
1617| [ ` issue ` ] ( ./issue/ ) | Issue tracking |
1718| [ ` event ` ] ( ./event/ ) | Event inspection |
1819| [ ` log ` ] ( ./log/ ) | Log viewing and streaming |
Original file line number Diff line number Diff line change 1+ ---
2+ title : team
3+ description : Team commands for the Sentry CLI
4+ ---
5+
6+ Manage Sentry teams.
7+
8+ ## Commands
9+
10+ ### ` sentry team list `
11+
12+ List teams in an organization.
13+
14+ ``` bash
15+ # Auto-detect organization or list all
16+ sentry team list
17+
18+ # List teams in a specific organization
19+ sentry team list < org-slug>
20+
21+ # Limit results
22+ sentry team list --limit 10
23+ ```
24+
25+ ** Arguments:**
26+
27+ | Argument | Description |
28+ | ----------| -------------|
29+ | ` [org-slug] ` | Optional organization slug to filter by |
30+
31+ ** Options:**
32+
33+ | Option | Description |
34+ | --------| -------------|
35+ | ` -n, --limit <number> ` | Maximum number of teams to list (default: 30) |
36+ | ` --json ` | Output as JSON |
37+
38+ ** Example output:**
39+
40+ ```
41+ ORG SLUG NAME MEMBERS
42+ my-org backend Backend Team 8
43+ my-org frontend Frontend Team 5
44+ my-org mobile Mobile Team 3
45+ ```
46+
47+ ** JSON output:**
48+
49+ ``` bash
50+ sentry team list --json
51+ ```
52+
53+ ``` json
54+ [
55+ {
56+ "id" : " 100" ,
57+ "slug" : " backend" ,
58+ "name" : " Backend Team" ,
59+ "memberCount" : 8
60+ }
61+ ]
62+ ```
You can’t perform that action at this time.
0 commit comments