mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
@ -32,7 +32,7 @@ func (r *RootCmd) portForward() *clibase.Cmd {
|
||||
client := new(codersdk.Client)
|
||||
cmd := &clibase.Cmd{
|
||||
Use: "port-forward <workspace>",
|
||||
Short: `Forward ports from a workspace to the local machine. Forward ports from a workspace to the local machine. For reverse port forwarding, use "coder ssh -R".`,
|
||||
Short: `Forward ports from a workspace to the local machine. For reverse port forwarding, use "coder ssh -R".`,
|
||||
Aliases: []string{"tunnel"},
|
||||
Long: formatExamples(
|
||||
example{
|
||||
|
3
cli/testdata/coder_--help.golden
vendored
3
cli/testdata/coder_--help.golden
vendored
@ -21,8 +21,7 @@ Coder v0.0.0-devel — A tool for provisioning self-hosted development environme
|
||||
logout Unauthenticate your local session
|
||||
netcheck Print network debug information for DERP and STUN
|
||||
ping Ping a workspace
|
||||
port-forward Forward ports from a workspace to the local machine.
|
||||
Forward ports from a workspace to the local machine. For
|
||||
port-forward Forward ports from a workspace to the local machine. For
|
||||
reverse port forwarding, use "coder ssh -R".
|
||||
publickey Output your Coder public key used for Git operations
|
||||
rename Rename a workspace
|
||||
|
@ -1,7 +1,7 @@
|
||||
Usage: coder port-forward [flags] <workspace>
|
||||
|
||||
Forward ports from a workspace to the local machine. Forward ports from a
|
||||
workspace to the local machine. For reverse port forwarding, use "coder ssh -R".
|
||||
Forward ports from a workspace to the local machine. For reverse port
|
||||
forwarding, use "coder ssh -R".
|
||||
|
||||
Aliases: tunnel
|
||||
|
||||
|
Reference in New Issue
Block a user