MCPcopy Create free account
hub / github.com/anchordotdev/cli / View

Method View

cli_test.go:150–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148func (m *TestHeader) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, nil }
149
150func (m *TestHeader) View() string {
151 var b strings.Builder
152 fmt.Fprintln(&b, ui.Header(fmt.Sprintf("Test %s %s", m.Type, ui.Whisper(fmt.Sprintf("`anchor test %s`", m.Type)))))
153 return b.String()
154}
155
156type TestHint struct {
157 Type string

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected