feat(cli): add coder open vscode (#11191)

Fixes #7667
This commit is contained in:
Mathias Fredriksson
2024-01-02 20:46:18 +02:00
committed by GitHub
parent 099be249a7
commit df3c310379
26 changed files with 1123 additions and 292 deletions
+16
View File
@@ -0,0 +1,16 @@
coder v0.0.0-devel
USAGE:
coder open vscode [flags] <workspace> [<directory in workspace>]
Open a workspace in VS Code Desktop
OPTIONS:
--generate-token bool, $CODER_OPEN_VSCODE_GENERATE_TOKEN
Generate an auth token and include it in the vscode:// URI. This is
for automagical configuration of VS Code Desktop and not needed if
already configured. This flag does not need to be specified when
running this command on a local machine unless automatic open fails.
———
Run `coder --help` for a list of global options.