(client *api.Client)
| 421 | } |
| 422 | |
| 423 | func fetchCreateTemplatesCmd(client *api.Client) tea.Cmd { |
| 424 | return func() tea.Msg { |
| 425 | templates, err := client.ListTemplates() |
| 426 | return createTemplatesMsg{templates: templates, err: err} |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | func fetchCreateSnapshotsCmd(client *api.Client) tea.Cmd { |
| 431 | return func() tea.Msg { |