MCPcopy
hub / github.com/cli/cli / runCommand

Function runCommand

pkg/cmd/issue/create/create_test.go:975–977  ·  view source on GitHub ↗

*** LEGACY TESTS ***/

(rt http.RoundTripper, isTTY bool, cli string, pm *prompter.PrompterMock)

Source from the content-addressed store, hash-verified

973/*** LEGACY TESTS ***/
974
975func runCommand(rt http.RoundTripper, isTTY bool, cli string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
976 return runCommandWithRootDirOverridden(rt, isTTY, cli, "", pm)
977}
978
979func runCommandWithRootDirOverridden(rt http.RoundTripper, isTTY bool, cli string, rootDir string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
980 ios, _, stdout, stderr := iostreams.Test()

Calls 1

Tested by

no test coverage detected