@@ -190,9 +190,9 @@ func defaultAuthFunc(url, code string) {
190
190
fmt .Println ("Your Device Confirmation Code is 👉" , codeType (code ), "👈" )
191
191
caretType := color .New (color .FgGreen , color .Bold ).SprintFunc ()
192
192
enterType := color .New (color .FgGreen , color .Bold ).SprintFunc ()
193
- urlType := color .New (color .FgWhite , color .Bold ).SprintFunc ()
194
- fmt .Println ("\n " + "Browser link: " + url )
195
- fmt .Println ("Alternatively, get CLI Command (\" Login via CLI\" ): https://console.brev.dev/profile?login=cli" )
193
+ urlType := color .New (color .FgCyan , color .Bold ).SprintFunc ()
194
+ fmt .Println ("\n " + "Browser link: " + urlType ( url ) + " \n " )
195
+ fmt .Println ("Alternatively, get CLI Command (\" Login via CLI\" ): " , urlType ( " https://console.brev.dev/profile?login=cli") )
196
196
fmt .Print ("\n " )
197
197
_ = terminal .PromptGetInput (terminal.PromptContent {
198
198
Label : " " + caretType ("▸" ) + " Press " + enterType ("Enter" ) + " to login via browser" ,
@@ -210,9 +210,9 @@ func defaultAuthFunc(url, code string) {
210
210
}
211
211
212
212
func skipBrowserAuthFunc (url , _ string ) {
213
- urlType := color .New (color .FgWhite , color .Bold ).SprintFunc ()
213
+ urlType := color .New (color .FgCyan , color .Bold ).SprintFunc ()
214
214
fmt .Println ("Please copy" , urlType (url ), "and paste it in your browser." )
215
- fmt .Println ("Alternatively, get CLI Command (\" Login via CLI\" ): https://console.brev.dev/profile?login=cli" )
215
+ fmt .Println ("Alternatively, get CLI Command (\" Login via CLI\" ): " , urlType ( " https://console.brev.dev/profile?login=cli") )
216
216
fmt .Println ("Waiting for login to complete in browser... Ctrl+C to use CLI command instead." )
217
217
}
218
218
0 commit comments