From 200a3d1a65c6bd640de0c9896deea8722cf36d32 Mon Sep 17 00:00:00 2001 From: Cornelius Toole Date: Sun, 27 Jun 2021 20:08:56 -0500 Subject: [PATCH] Hide unimplemented commands Signed-off-by: Cornelius Toole --- cmd/dagger/cmd/down.go | 2 ++ cmd/dagger/cmd/history.go | 2 ++ cmd/dagger/cmd/login.go | 2 ++ cmd/dagger/cmd/logout.go | 2 ++ cmd/dagger/cmd/output/dir.go | 2 ++ 5 files changed, 10 insertions(+) diff --git a/cmd/dagger/cmd/down.go b/cmd/dagger/cmd/down.go index 147d7139..398ade87 100644 --- a/cmd/dagger/cmd/down.go +++ b/cmd/dagger/cmd/down.go @@ -19,6 +19,8 @@ var downCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { panic("not implemented") }, + // Remove hidden flag once command has been implemented + Hidden: true, } func init() { diff --git a/cmd/dagger/cmd/history.go b/cmd/dagger/cmd/history.go index fcb4c550..22fac682 100644 --- a/cmd/dagger/cmd/history.go +++ b/cmd/dagger/cmd/history.go @@ -22,6 +22,8 @@ var historyCmd = &cobra.Command{ panic("not implemented") }, + // Remove hidden flag once command has been implemented + Hidden: true, } func init() { diff --git a/cmd/dagger/cmd/login.go b/cmd/dagger/cmd/login.go index 58028c0a..74105901 100644 --- a/cmd/dagger/cmd/login.go +++ b/cmd/dagger/cmd/login.go @@ -22,6 +22,8 @@ var loginCmd = &cobra.Command{ panic("not implemented") }, + // Remove hidden flag once command has been implemented + Hidden: true, } func init() { diff --git a/cmd/dagger/cmd/logout.go b/cmd/dagger/cmd/logout.go index 484015d5..62b5f0a7 100644 --- a/cmd/dagger/cmd/logout.go +++ b/cmd/dagger/cmd/logout.go @@ -22,6 +22,8 @@ var logoutCmd = &cobra.Command{ panic("not implemented") }, + // Remove hidden flag once command has been implemented + Hidden: true, } func init() { diff --git a/cmd/dagger/cmd/output/dir.go b/cmd/dagger/cmd/output/dir.go index 9de621d3..b621dbc3 100644 --- a/cmd/dagger/cmd/output/dir.go +++ b/cmd/dagger/cmd/output/dir.go @@ -22,6 +22,8 @@ var dirCmd = &cobra.Command{ panic("not implemented") }, + // Remove hidden flag once command has been implemented + Hidden: true, } func init() {