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

Function fetchModifyPricingCmd

tui/modify.go:295–300  ·  view source on GitHub ↗
(client *api.Client)

Source from the content-addressed store, hash-verified

293}
294
295func fetchModifyPricingCmd(client *api.Client) tea.Cmd {
296 return func() tea.Msg {
297 rates, err := client.FetchPricing()
298 return modifyPricingMsg{rates: rates, err: err}
299 }
300}
301
302func (m modifyModel) Init() tea.Cmd {
303 return fetchModifyPricingCmd(m.client)

Callers 1

InitMethod · 0.85

Calls 1

FetchPricingMethod · 0.80

Tested by

no test coverage detected