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

Function ioStreams

pkg/cmd/factory/default.go:32–35  ·  view source on GitHub ↗
(_ *cmdutil.Factory)

Source from the content-addressed store, hash-verified

30}
31
32func ioStreams(_ *cmdutil.Factory) *iostreams.IOStreams {
33 io := iostreams.System()
34 return io
35}
36
37func searchClient(f *cmdutil.Factory, appVersion string) func() (*search.APIClient, error) {
38 return func() (*search.APIClient, error) {

Callers 1

NewFunction · 0.85

Calls 1

SystemFunction · 0.92

Tested by

no test coverage detected