diff --git a/cmd/cloudflared/tunnel/cmd.go b/cmd/cloudflared/tunnel/cmd.go index f2b21df4..49b82490 100644 --- a/cmd/cloudflared/tunnel/cmd.go +++ b/cmd/cloudflared/tunnel/cmd.go @@ -56,20 +56,6 @@ func Commands() []*cli.Command { }, Hidden: true, }, - { - Name: "hello", - Action: helloWorld, - Usage: "Run a simple \"Hello World\" server for testing Argo Tunnel.", - Flags: []cli.Flag{ - &cli.IntFlag{ - Name: "port", - Usage: "Listen on the selected port.", - Value: 8080, - }, - }, - ArgsUsage: " ", // can't be the empty string or we get the default output - Hidden: true, - }, { Name: "proxy-dns", Action: tunneldns.Run, diff --git a/cmd/cloudflared/tunnel/hello.go b/cmd/cloudflared/tunnel/hello.go deleted file mode 100644 index faa4ce42..00000000 --- a/cmd/cloudflared/tunnel/hello.go +++ /dev/null @@ -1,20 +0,0 @@ -package tunnel - -import ( - "fmt" - - "gopkg.in/urfave/cli.v2" - - "github.com/cloudflare/cloudflared/hello" -) - -func helloWorld(c *cli.Context) error { - address := fmt.Sprintf(":%d", c.Int("port")) - listener, err := hello.CreateTLSListener(address) - if err != nil { - return err - } - defer listener.Close() - err = hello.StartHelloWorldServer(logger, listener, nil) - return err -}