GitHub CLI (original) (raw)

gh codespace code

Open a codespace in Visual Studio Code

gh codespace code [flags]

Options

-c, --codespace <string>

Name of the codespace

--insiders

Use the insiders version of Visual Studio Code

-R, --repo <string>

Filter codespace selection by repository name (user/repo)

--repo-owner <string>

Filter codespace selection by repository owner (username or org)

-w, --web

Use the web version of Visual Studio Code

See also