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

Method loadMetadataIntoView

internal/tui/app.go:121–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119}
120
121func (a *App) loadMetadataIntoView() {
122 meta, err := api.LoadMetadataFromFile()
123 if err != nil {
124 return
125 }
126 opts := views.ProcessMetadata(meta)
127 a.pricingView.Options = opts
128 a.pricingView.UpdateSuggestions()
129}
130
131// Init implements tea.Model.
132func (a App) Init() tea.Cmd {

Callers 2

NewAppFunction · 0.95
UpdateMethod · 0.95

Calls 3

LoadMetadataFromFileFunction · 0.92
ProcessMetadataFunction · 0.92
UpdateSuggestionsMethod · 0.80

Tested by

no test coverage detected