GH-CODESPACE-VIEW(1) GitHub CLI manual GH-CODESPACE-VIEW(1) (NAME) gh-codespace-view - (SYNOPSIS) gh codespace view [flags] (OPTIONS) -c, --codespace -q, --jq JSON jq --json JSON -R, --repo (user/repo) --repo-owner ( ) -t, --template JSON Go "gh help formatting" JSON (JSON FIELDS) billableOwner, createdAt, devcontainerPath, displayName, environmentId, gitStatus, idleTimeoutMinutes, lastUsedAt, location, machineDisplayName, machineName, name, owner, prebuild, recentFolders, repository, retentionExpiresAt, retentionPeriodDays, state, vscsTarget (EXIT CODES) 0: 1: 2: 4: : . . (EXAMPLES) # $ gh cs view # $ gh cs view -c codespace-name-12345 # $ gh cs view --json # $ gh cs view --json displayName,machineDisplayName,state (SEE ALSO) gh-codespace(1) Sep 2026 GH-CODESPACE-VIEW(1)