1GH-CODESPACE-VIEW(1)           GitHub CLI manual          GH-CODESPACE-VIEW(1)
2
3
4

NAME

6       gh-codespace-view - View details about a codespace
7
8
9

SYNOPSIS

11       gh codespace view [flags]
12
13
14

OPTIONS

16       -c, --codespace <string>
17              Name of the codespace
18
19
20       -q, --jq <expression>
21              Filter JSON output using a jq expression
22
23
24       --json <fields>
25              Output JSON with the specified fields
26
27
28       -R, --repo <string>
29              Filter codespace selection by repository name (user/repo)
30
31
32       --repo-owner <string>
33              Filter codespace selection by repository owner (username or org)
34
35
36       -t, --template <string>
37              Format JSON output using a Go template; see "gh help formatting"
38
39
40

EXAMPLE

42       # select a codespace from a list of all codespaces you own
43       $ gh cs view
44
45       # view the details of a specific codespace
46       $ gh cs view -c codespace-name-12345
47
48       # view the list of all available fields for a codespace
49       $ gh cs view --json
50
51       # view specific fields for a codespace
52       $ gh cs view --json displayName,machineDisplayName,state
53
54
55
56
57

SEE ALSO

59       gh-codespace(1)
60
61
62
63                                   Nov 2023               GH-CODESPACE-VIEW(1)
Impressum