From c2c7bfd0dba2987bc0595e7343dd64a3053c1045 Mon Sep 17 00:00:00 2001 From: Lachlan Donald Date: Sat, 23 Dec 2017 08:40:48 +1100 Subject: [PATCH] Make server command hidden --- cli/server.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/server.go b/cli/server.go index 60a735b41..5050e7f0a 100644 --- a/cli/server.go +++ b/cli/server.go @@ -11,7 +11,9 @@ type ServerCommandInput struct { func ConfigureServerCommand(app *kingpin.Application) { input := ServerCommandInput{} - cmd := app.Command("server", "Run an ec2 instance role server locally") + cmd := app.Command("server", "Run an ec2 instance role server locally"). + Hidden() + cmd.Action(func(c *kingpin.ParseContext) error { ServerCommand(app, input) return nil