MCPcopy Create free account
hub / github.com/dropbox/dbxcli / RenderText

Method RenderText

internal/output/output.go:41–46  ·  view source on GitHub ↗
(render func(io.Writer) error)

Source from the content-addressed store, hash-verified

39}
40
41func (r *Renderer) RenderText(render func(io.Writer) error) error {
42 if r.format != FormatText {
43 return ErrStructuredOutputUnsupported
44 }
45 return r.Render(render, nil)
46}
47
48func (r *Renderer) Render(renderText func(io.Writer) error, data any) error {
49 switch r.format {

Callers 5

renderSearchOutputFunction · 0.80
renderRevisionsOutputFunction · 0.80
renderLsOutputFunction · 0.80

Calls 1

RenderMethod · 0.95

Tested by 2