MCPcopy Index your code
hub / github.com/rilldata/rill / PrintDataWithTitle

Method PrintDataWithTitle

cli/pkg/printer/printer.go:105–110  ·  view source on GitHub ↗
(v interface{}, title string)

Source from the content-addressed store, hash-verified

103}
104
105func (p *Printer) PrintDataWithTitle(v interface{}, title string) {
106 if p.Format == FormatHuman {
107 p.Printf(" %s\n", strings.ToUpper(title))
108 }
109 p.PrintData(v)
110}
111
112func (p *Printer) Print(i ...interface{}) {
113 fmt.Fprint(p.humanOut(), i...)

Callers 2

PrintProjectInvitesMethod · 0.95

Calls 2

PrintfMethod · 0.95
PrintDataMethod · 0.95

Tested by

no test coverage detected