MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / fetchCreateTemplatesCmd

Function fetchCreateTemplatesCmd

tui/create.go:423–428  ·  view source on GitHub ↗
(client *api.Client)

Source from the content-addressed store, hash-verified

421}
422
423func 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
430func fetchCreateSnapshotsCmd(client *api.Client) tea.Cmd {
431 return func() tea.Msg {

Callers 1

InitMethod · 0.85

Calls 1

ListTemplatesMethod · 0.80

Tested by

no test coverage detected