File tree 7 files changed +28
-5
lines changed
7 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ func (r *RootCmd) netcheck() *clibase.Cmd {
17
17
client := new (codersdk.Client )
18
18
19
19
cmd := & clibase.Cmd {
20
- Use : "netcheck" ,
21
- Short : "Print network debug information for DERP and STUN" ,
22
- Hidden : true ,
20
+ Use : "netcheck" ,
21
+ Short : "Print network debug information for DERP and STUN" ,
23
22
Middleware : clibase .Chain (
24
23
r .InitClient (client ),
25
24
),
Original file line number Diff line number Diff line change @@ -79,13 +79,14 @@ func (r *RootCmd) Core() []*clibase.Cmd {
79
79
r .dotfiles (),
80
80
r .login (),
81
81
r .logout (),
82
+ r .netcheck (),
82
83
r .portForward (),
83
84
r .publickey (),
84
85
r .resetPassword (),
85
86
r .state (),
86
87
r .templates (),
87
- r .users (),
88
88
r .tokens (),
89
+ r .users (),
89
90
r .version (defaultVersionInfo ),
90
91
91
92
// Workspace Commands
@@ -107,7 +108,6 @@ func (r *RootCmd) Core() []*clibase.Cmd {
107
108
108
109
// Hidden
109
110
r .gitssh (),
110
- r .netcheck (),
111
111
r .vscodeSSH (),
112
112
r .workspaceAgent (),
113
113
r .expCmd (),
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Coder v0.0.0-devel — A tool for provisioning self-hosted development environme
19
19
list List workspaces
20
20
login Authenticate with Coder deployment
21
21
logout Unauthenticate your local session
22
+ netcheck Print network debug information for DERP and STUN
22
23
ping Ping a workspace
23
24
port-forward Forward ports from machine to a workspace
24
25
publickey Output your Coder public key used for Git operations
Original file line number Diff line number Diff line change
1
+ Usage: coder netcheck
2
+
3
+ Print network debug information for DERP and STUN
4
+
5
+ ---
6
+ Run `coder --help` for a list of global options.
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ Coder — A tool for provisioning self-hosted development environments with Terr
35
35
| [ <code >list</code >] ( ./cli/list.md ) | List workspaces |
36
36
| [ <code >login</code >] ( ./cli/login.md ) | Authenticate with Coder deployment |
37
37
| [ <code >logout</code >] ( ./cli/logout.md ) | Unauthenticate your local session |
38
+ | [ <code >netcheck</code >] ( ./cli/netcheck.md ) | Print network debug information for DERP and STUN |
38
39
| [ <code >ping</code >] ( ./cli/ping.md ) | Ping a workspace |
39
40
| [ <code >port-forward</code >] ( ./cli/port-forward.md ) | Forward ports from machine to a workspace |
40
41
| [ <code >provisionerd</code >] ( ./cli/provisionerd.md ) | Manage provisioner daemons |
Original file line number Diff line number Diff line change
1
+ <!-- DO NOT EDIT | GENERATED CONTENT -->
2
+
3
+ # netcheck
4
+
5
+ Print network debug information for DERP and STUN
6
+
7
+ ## Usage
8
+
9
+ ``` console
10
+ coder netcheck
11
+ ```
Original file line number Diff line number Diff line change 592
592
"description" : " Unauthenticate your local session" ,
593
593
"path" : " cli/logout.md"
594
594
},
595
+ {
596
+ "title" : " netcheck" ,
597
+ "description" : " Print network debug information for DERP and STUN" ,
598
+ "path" : " cli/netcheck.md"
599
+ },
595
600
{
596
601
"title" : " ping" ,
597
602
"description" : " Ping a workspace" ,
You can’t perform that action at this time.
0 commit comments