1GH-CODESPACE-LIST(1) GitHub CLI manual GH-CODESPACE-LIST(1)
2
3
4
6 gh-codespace-list - List codespaces
7
8
9
11 gh codespace list [flags]
12
13
14
16 List codespaces of the authenticated user.
17
18
19 Alternatively, organization administrators may list all codespaces
20 billed to the organization.
21
22
23
25 -q, --jq <expression>
26 Filter JSON output using a jq expression
27
28
29 --json <fields>
30 Output JSON with the specified fields
31
32
33 -L, --limit <int>
34 Maximum number of codespaces to list
35
36
37 -o, --org <login>
38 The login handle of the organization to list codespaces for (ad‐
39 min-only)
40
41
42 -R, --repo <string>
43 Repository name with owner: user/repo
44
45
46 -t, --template <string>
47 Format JSON output using a Go template; see "gh help formatting"
48
49
50 -u, --user <username>
51 The username to list codespaces for (used with --org)
52
53
54
56 gh-codespace(1)
57
58
59
60 Jan 2023 GH-CODESPACE-LIST(1)