(password string)
| 476 | } |
| 477 | |
| 478 | func (a App) connectWithPassword(password string) tea.Cmd { |
| 479 | return func() tea.Msg { |
| 480 | a.client.SetSecretKey(password) |
| 481 | cfg, errGetConfig := a.client.GetConfig() |
| 482 | return authConnectMsg{cfg: cfg, err: errGetConfig} |
| 483 | } |
| 484 | } |
| 485 | |
| 486 | // Run starts the TUI application. |
| 487 | // output specifies where bubbletea renders. If nil, defaults to os.Stdout. |
no test coverage detected