MCPcopy
hub / github.com/cli/cli / newBrowser

Function newBrowser

pkg/cmd/factory/default.go:251–254  ·  view source on GitHub ↗
(f *cmdutil.Factory)

Source from the content-addressed store, hash-verified

249}
250
251func newBrowser(f *cmdutil.Factory) browser.Browser {
252 io := f.IOStreams
253 return browser.New("", io.Out, io.ErrOut)
254}
255
256func newPrompter(f *cmdutil.Factory) prompter.Prompter {
257 editor, _ := cmdutil.DetermineEditor(f.Config)

Callers 1

NewFunction · 0.85

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected