MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / fetchPricingCmd

Function fetchPricingCmd

internal/tui/app.go:575–580  ·  view source on GitHub ↗
(client *api.Client, products, regions []string, attrs map[string]string, prices []string)

Source from the content-addressed store, hash-verified

573}
574
575func fetchPricingCmd(client *api.Client, products, regions []string, attrs map[string]string, prices []string) tea.Cmd {
576 return func() tea.Msg {
577 resp, err := client.FetchPricing(products, regions, attrs, prices)
578 return pricingResultMsg{resp: resp, err: err}
579 }
580}
581
582// ── Helpers ───────────────────────────────────────────────────────────────────
583

Callers 1

submitPricingQueryMethod · 0.85

Calls 1

FetchPricingMethod · 0.80

Tested by

no test coverage detected