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

Function runCommand

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

*** LEGACY TESTS ***/

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

Source from the content-addressed store, hash-verified

1484
1485/*** LEGACY TESTS ***/
1486func runCommand(rt http.RoundTripper, isTTY bool, cli string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
1487 return runCommandWithRootDirOverridden(rt, isTTY, cli, "", pm)
1488}
1489
1490func runCommandWithRootDirOverridden(rt http.RoundTripper, isTTY bool, cli string, rootDir string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
1491 ios, _, stdout, stderr := iostreams.Test()

Calls 1

Tested by

no test coverage detected