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

Function fetchCreateSpecsCmd

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

Source from the content-addressed store, hash-verified

442}
443
444func fetchCreateSpecsCmd(client *api.Client) tea.Cmd {
445 return func() tea.Msg {
446 specs, err := utils.FetchSpecStore(client)
447 if err != nil {
448 return createSpecsMsg{err: err}
449 }
450 return createSpecsMsg{specs: specs}
451 }
452}
453
454func (m createModel) Init() tea.Cmd {
455 cmds := []tea.Cmd{

Callers 1

InitMethod · 0.85

Calls 1

FetchSpecStoreFunction · 0.92

Tested by

no test coverage detected