MCPcopy Create free account
hub / github.com/cli/cli / runCommand

Function runCommand

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

*** LEGACY TESTS ***/

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

Source from the content-addressed store, hash-verified

1467
1468/*** LEGACY TESTS ***/
1469func runCommand(rt http.RoundTripper, isTTY bool, cli string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
1470 return runCommandWithRootDirOverridden(rt, isTTY, cli, "", pm)
1471}
1472
1473func runCommandWithRootDirOverridden(rt http.RoundTripper, isTTY bool, cli string, rootDir string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
1474 ios, _, stdout, stderr := iostreams.Test()

Calls 1

Tested by

no test coverage detected