diff --git a/cmd/create/breakglasscredential/cmd.go b/cmd/create/breakglasscredential/cmd.go index 56de684a35..c526ab1ad3 100644 --- a/cmd/create/breakglasscredential/cmd.go +++ b/cmd/create/breakglasscredential/cmd.go @@ -25,9 +25,8 @@ func makeCmd() *cobra.Command { Long: "Create a break glass credential for a hosted control plane cluster with external authentication enabled.", Example: ` # Interactively create a break glass credential to a cluster named "mycluster" rosa create break-glass-credential --cluster=mycluster --interactive`, - Run: run, - Hidden: true, - Args: cobra.NoArgs, + Run: run, + Args: cobra.NoArgs, } } diff --git a/cmd/create/externalauthprovider/cmd.go b/cmd/create/externalauthprovider/cmd.go index 056a035c14..69a3a12819 100644 --- a/cmd/create/externalauthprovider/cmd.go +++ b/cmd/create/externalauthprovider/cmd.go @@ -39,9 +39,8 @@ var Cmd = &cobra.Command{ Long: "Configure a cluster to use an external authentication provider instead of an internal oidc provider.", Example: ` # Interactively create an external authentication provider to a cluster named "mycluster" rosa create external-auth-provider --cluster=mycluster --interactive`, - Run: run, - Hidden: true, - Args: cobra.NoArgs, + Run: run, + Args: cobra.NoArgs, } func init() { diff --git a/cmd/describe/breakglasscredential/cmd.go b/cmd/describe/breakglasscredential/cmd.go index 060ebab5c2..c9215944ea 100644 --- a/cmd/describe/breakglasscredential/cmd.go +++ b/cmd/describe/breakglasscredential/cmd.go @@ -37,9 +37,8 @@ var Cmd = &cobra.Command{ Long: "Show details of a break glass credential on a cluster.", Example: ` # Show details of a break glass credential with ID "12345" on a cluster named "mycluster" rosa describe break-glass-credential 12345 --cluster=mycluster `, - Run: run, - Hidden: true, - Args: cobra.MaximumNArgs(2), + Run: run, + Args: cobra.MaximumNArgs(2), } var args struct { diff --git a/cmd/describe/externalauthprovider/cmd.go b/cmd/describe/externalauthprovider/cmd.go index c2a8d1c10c..ecaa7bb693 100644 --- a/cmd/describe/externalauthprovider/cmd.go +++ b/cmd/describe/externalauthprovider/cmd.go @@ -37,9 +37,8 @@ var Cmd = &cobra.Command{ Long: "Show details of an external authentication provider on a cluster.", Example: ` # Show details of an external authentication provider named "exauth" on a cluster named "mycluster" rosa describe external-auth-provider exauth --cluster=mycluster `, - Run: run, - Hidden: true, - Args: cobra.MaximumNArgs(1), + Run: run, + Args: cobra.MaximumNArgs(1), } var args struct { diff --git a/cmd/dlt/externalauthprovider/cmd.go b/cmd/dlt/externalauthprovider/cmd.go index 5f047d8d26..bce0e2e1c6 100644 --- a/cmd/dlt/externalauthprovider/cmd.go +++ b/cmd/dlt/externalauthprovider/cmd.go @@ -35,8 +35,7 @@ var Cmd = &cobra.Command{ Long: "Delete an external authentication provider from a cluster.", Example: ` # Delete an external authentication provider named exauth-1 rosa delete external-auth-provider exauth-1 --cluster=mycluster`, - Run: run, - Hidden: true, + Run: run, Args: func(_ *cobra.Command, argv []string) error { if len(argv) != 1 { return fmt.Errorf( diff --git a/cmd/list/breakglasscredential/cmd.go b/cmd/list/breakglasscredential/cmd.go index b826f16528..f0f655dcba 100644 --- a/cmd/list/breakglasscredential/cmd.go +++ b/cmd/list/breakglasscredential/cmd.go @@ -20,9 +20,8 @@ var Cmd = &cobra.Command{ Long: "List break glass credential for a cluster.", Example: ` # List all break glass credentials for a cluster named 'mycluster'" rosa list break-glass-credentials -c mycluster`, - Run: run, - Args: cobra.NoArgs, - Hidden: true, + Run: run, + Args: cobra.NoArgs, } func init() { diff --git a/cmd/list/externalauthprovider/cmd.go b/cmd/list/externalauthprovider/cmd.go index 9713cb2f4a..ffbc62f888 100644 --- a/cmd/list/externalauthprovider/cmd.go +++ b/cmd/list/externalauthprovider/cmd.go @@ -36,9 +36,8 @@ var Cmd = &cobra.Command{ Long: "List external authentication provider for a cluster.", Example: ` # List all external authentication providers for a cluster named 'mycluster'" rosa list external-auth-provider -c mycluster`, - Run: run, - Args: cobra.NoArgs, - Hidden: true, + Run: run, + Args: cobra.NoArgs, } func init() { diff --git a/cmd/revoke/breakglasscredential/cmd.go b/cmd/revoke/breakglasscredential/cmd.go index bcc62d0f91..68d607b0ef 100644 --- a/cmd/revoke/breakglasscredential/cmd.go +++ b/cmd/revoke/breakglasscredential/cmd.go @@ -35,9 +35,8 @@ var Cmd = &cobra.Command{ Long: "Revoke all the break glass credentials from a cluster.", Example: ` # Revoke all break glass credentials rosa revoke break-glass-credentials --cluster=mycluster`, - Run: run, - Hidden: true, - Args: cobra.NoArgs, + Run: run, + Args: cobra.NoArgs, } func init() {