diff --git a/internal/cmd/group.go b/internal/cmd/group.go index 6083bfcf..c41e6845 100644 --- a/internal/cmd/group.go +++ b/internal/cmd/group.go @@ -1,6 +1,3 @@ -//go:build preview -// +build preview - package cmd import ( @@ -14,8 +11,9 @@ import ( ) var groupCmd = &cobra.Command{ - Use: "group", - Short: "Manage your database groups", + Use: "group", + Short: "Manage your database groups", + Hidden: true, } func init() { diff --git a/internal/cmd/group_flag.go b/internal/cmd/group_flag.go index d9f4678c..8dd39302 100644 --- a/internal/cmd/group_flag.go +++ b/internal/cmd/group_flag.go @@ -11,5 +11,4 @@ func addGroupFlag(cmd *cobra.Command) { func addPersistentGroupFlag(cmd *cobra.Command, description string) { cmd.PersistentFlags().StringVarP(&groupFlag, "group", "g", "", description) - cmd.Flags().MarkHidden("group") } diff --git a/internal/cmd/group_locations.go b/internal/cmd/group_locations.go index aedfac5d..64409c9d 100644 --- a/internal/cmd/group_locations.go +++ b/internal/cmd/group_locations.go @@ -1,6 +1,3 @@ -//go:build preview -// +build preview - package cmd import (