1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-23 09:21:56 +01:00

hide the server open command

This commit is contained in:
Brad Rydzewski 2018-03-09 15:58:57 -08:00
parent 93103dff28
commit 80e17b70e6

@ -10,11 +10,18 @@ import (
"github.com/drone/drone-cli/drone/internal" "github.com/drone/drone-cli/drone/internal"
) )
//
// support for cadvisor was temporarily disabled, so
// this command has been hidden from the --help menu
// until available.
//
var serverOpenCmd = cli.Command{ var serverOpenCmd = cli.Command{
Name: "open", Name: "open",
Usage: "open server dashboard", Usage: "open server dashboard",
ArgsUsage: "<servername>", ArgsUsage: "<servername>",
Action: serverOpen, Action: serverOpen,
Hidden: true,
} }
func serverOpen(c *cli.Context) error { func serverOpen(c *cli.Context) error {