MCPcopy Create free account
hub / github.com/cli/cli / label

Method label

internal/prompter/multi_select_with_search.go:206–211  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

204}
205
206func (m *multiSelectSearchField) label(key string) string {
207 if l, ok := m.optionLabels[key]; ok && l != "" {
208 return l
209 }
210 return key
211}
212
213// --- huh.Field interface ---
214

Callers 1

applySearchResultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected