MCPcopy
hub / github.com/cli/cli / Exporter

Interface Exporter

pkg/cmdutil/json_flags.go:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198type Exporter interface {
199 Fields() []string
200 Write(io *iostreams.IOStreams, data interface{}) error
201}
202
203type jsonExporter struct {
204 fields []string

Callers 16

needsCommentsFunction · 0.65
fetchExpectedChecksumFunction · 0.65
listRunFunction · 0.65
viewRunFunction · 0.65
listRunFunction · 0.65
statusRunFunction · 0.65
readFileRunFunction · 0.65
viewRunFunction · 0.65
NewCmdExtensionFunction · 0.95
Test_exportFormat_WriteFunction · 0.65
editFunction · 0.65
WriteMethod · 0.65

Implementers 4

jsonExporterpkg/cmdutil/json_flags.go
verboseExporterpkg/cmd/cache/list/list_test.go
testExporterpkg/cmd/repo/view/view_test.go
TestExporterpkg/cmd/run/shared/test.go

Calls

no outgoing calls

Tested by

no test coverage detected