diff --git a/internal/cmd/auth/auth.go b/internal/cmd/auth/auth.go index 6dea5f34..a09679b0 100644 --- a/internal/cmd/auth/auth.go +++ b/internal/cmd/auth/auth.go @@ -1,6 +1,8 @@ package auth import ( + "log" + "github.com/debricked/cli/internal/auth" "github.com/debricked/cli/internal/cmd/auth/login" "github.com/debricked/cli/internal/cmd/auth/logout" @@ -13,11 +15,12 @@ func NewAuthCmd(authenticator auth.IAuthenticator) *cobra.Command { cmd := &cobra.Command{ Use: "auth", Short: "Debricked authentication.", - Long: `Debricked service authentication.`, + Long: `Debricked service authentication. [beta feature]`, PreRun: func(cmd *cobra.Command, _ []string) { _ = viper.BindPFlags(cmd.Flags()) }, } + log.Println("Warning: Authentication is beta and may not work as expected.") cmd.AddCommand(login.NewLoginCmd(authenticator)) cmd.AddCommand(logout.NewLogoutCmd(authenticator)) cmd.AddCommand(token.NewTokenCmd(authenticator))