File tree Expand file tree Collapse file tree 4 files changed +1
-5
lines changed
Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,11 @@ import (
1212func NewAuthCmd (authenticator auth.IAuthenticator ) * cobra.Command {
1313 cmd := & cobra.Command {
1414 Use : "auth" ,
15- Short : "Debricked authentication. [beta feature] " ,
15+ Short : "Debricked authentication." ,
1616 Long : `Debricked service authentication. Currently in beta and will most likely not work as expected` ,
1717 PreRun : func (cmd * cobra.Command , _ []string ) {
1818 _ = viper .BindPFlags (cmd .Flags ())
1919 },
20- Hidden : true ,
2120 }
2221 cmd .AddCommand (login .NewLoginCmd (authenticator ))
2322 cmd .AddCommand (logout .NewLogoutCmd (authenticator ))
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ func NewLoginCmd(authenticator auth.IAuthenticator) *cobra.Command {
2525
2626func RunE (a auth.IAuthenticator ) func (_ * cobra.Command , args []string ) error {
2727 return func (cmd * cobra.Command , _ []string ) error {
28- fmt .Println ("Warning: auth is beta and may not work as expected." )
2928 err := a .Authenticate ()
3029 if err != nil {
3130 return err
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ func NewLogoutCmd(authenticator auth.IAuthenticator) *cobra.Command {
2525
2626func RunE (a auth.IAuthenticator ) func (_ * cobra.Command , args []string ) error {
2727 return func (cmd * cobra.Command , _ []string ) error {
28- fmt .Println ("Warning: auth is beta and may not work as expected." )
2928 err := a .Logout ()
3029 if err != nil {
3130 return err
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ Format:
4141
4242func RunE (a auth.IAuthenticator ) func (_ * cobra.Command , args []string ) error {
4343 return func (cmd * cobra.Command , _ []string ) error {
44- fmt .Println ("Warning: auth is beta and may not work as expected." )
4544 token , err := a .Token ()
4645 if err != nil {
4746 return err
You can’t perform that action at this time.
0 commit comments