()
| 21 | } |
| 22 | |
| 23 | func (r whoamiRow) String() string { |
| 24 | return fmt.Sprintf( |
| 25 | Caret+"Coder is running at %s, You're authenticated as %s !\n", |
| 26 | pretty.Sprint(cliui.DefaultStyles.Keyword, r.URL), |
| 27 | pretty.Sprint(cliui.DefaultStyles.Keyword, r.Username), |
| 28 | ) |
| 29 | } |
| 30 | |
| 31 | func (r *RootCmd) whoami() *serpent.Command { |
| 32 | formatter := cliui.NewOutputFormatter( |
no outgoing calls