8000 gen · coder/coder@b1f10a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit b1f10a7

Browse files
committed
gen
1 parent 7c98cbd commit b1f10a7

File tree

7 files changed

+79
-0
lines changed

7 files changed

+79
-0
lines changed

cli/testdata/coder_--help.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ SUBCOMMANDS:
2626
login Authenticate with Coder deployment
2727
logout Unauthenticate your local session
2828
netcheck Print network debug information for DERP and STUN
29+
open Open a workspace
2930
ping Ping a workspace
3031
port-forward Forward ports from a workspace to the local machine. For
3132
reverse port forwarding, use "coder ssh -R".

cli/testdata/coder_open_--help.golden

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder open
5+
6+
Open a workspace
7+
8+
SUBCOMMANDS:
9+
vscode Open a workspace in VS Code Desktop
10+
11+
———
12+
Run `coder --help` for a list of global options.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
coder v0.0.0-devel
2+
3+
USAGE:
4+
coder open vscode [flags] <workspace> [<directory in workspace>]
5+
6+
Open a workspace in VS Code Desktop
7+
8+
OPTIONS:
9+
--generate-token bool, $CODER_OPEN_VSCODE_GENERATE_TOKEN
10+
Generate an auth token and include it in the vscode:// URI. This is
11+
for automagical configuration of VS Code Desktop and not needed if
12+
already configured. This flag does not need to be specified when
13+
running this command on a local machine unless automatic open fails.
14+
15+
———
16+
Run `coder --help` for a list of global options.

docs/cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Coder — A tool for provisioning self-hosted development environments with Terr
3838
| [<code>login</code>](./cli/login.md) | Authenticate with Coder deployment |
3939
| [<code>logout</code>](./cli/logout.md) | Unauthenticate your local session |
4040
| [<code>netcheck</code>](./cli/netcheck.md) | Print network debug information for DERP and STUN |
41+
| [<code>open</code>](./cli/open.md) | Open a workspace |
4142
| [<code>ping</code>](./cli/ping.md) | Ping a workspace |
4243
| [<code>port-forward</code>](./cli/port-forward.md) | Forward ports from a workspace to the local machine. For reverse port forwarding, use "coder ssh -R". |
4344
| [<code>provisionerd</code>](./cli/provisionerd.md) | Manage provisioner daemons |

docs/cli/open.md

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/cli/open_vscode.md

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/manifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,16 @@
705705
"description": "Print network debug information for DERP and STUN",
706706
"path": "cli/netcheck.md"
707707
},
708+
{
709+
"title": "open",
710+
"description": "Open a workspace",
711+
"path": "cli/open.md"
712+
},
713+
{
714+
"title": "open vscode",
715+
"description": "Open a workspace in VS Code Desktop",
716+
"path": "cli/open_vscode.md"
717+
},
708718
{
709719
"title": "ping",
710720
"description": "Ping a workspace",

0 commit comments

Comments
 (0)
0