MCPcopy Create free account
hub / github.com/algolia/cli / Print

Method Print

pkg/printers/interface.go:18–18  ·  view source on GitHub ↗

Print receives an interface, formats it and prints it.

(*iostreams.IOStreams, interface{})

Source from the content-addressed store, hash-verified

16type Printer interface {
17 // Print receives an interface, formats it and prints it.
18 Print(*iostreams.IOStreams, interface{}) error
19}
20
21// PrintOptions struct defines a struct for various print options

Callers 15

runTailCmdFunction · 0.95
PrintMethod · 0.65
PrintRunSummaryFunction · 0.65
printTargetsFunction · 0.65
runGetCmdFunction · 0.65
runDeleteCmdFunction · 0.65
runBrowseCmdFunction · 0.65
runSearchCmdFunction · 0.65
runImportCmdFunction · 0.65
runBrowseCmdFunction · 0.65
runListCmdFunction · 0.65
runImportCmdFunction · 0.65

Implementers 4

PrintFlagspkg/cmdutil/print_flags.go
JSONPathPrinterpkg/printers/jsonpath.go
GoTemplatePrinterpkg/printers/template.go
JSONPrinterpkg/printers/json.go

Calls

no outgoing calls

Tested by

no test coverage detected