We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 339d2a8 + f9fe2ce commit 41c6aabCopy full SHA for 41c6aab
1 file changed
pkg/auth/kas.go
@@ -11,6 +11,7 @@ import (
11
12
"github.com/brevdev/brev-cli/pkg/entity"
13
breverrors "github.com/brevdev/brev-cli/pkg/errors"
14
+ "github.com/brevdev/brev-cli/pkg/terminal"
15
"github.com/google/uuid"
16
)
17
@@ -147,7 +148,8 @@ func (a KasAuthenticator) maybePromptForEmail() (string, error) {
147
148
} else if a.Email != "" {
149
return a.Email, nil
150
} else {
- fmt.Print("Enter your email: ")
151
+ t := terminal.New()
152
+ fmt.Print(t.Green("Enter your email: "))
153
_, err := fmt.Scanln(&email)
154
if err != nil {
155
return "", breverrors.WrapAndTrace(err)
0 commit comments