MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / RunCli

Function RunCli

test/integration/integrationtestutil.go:162–169  ·  view source on GitHub ↗
(space string, args ...string)

Source from the content-addressed store, hash-verified

160}
161
162func RunCli(space string, args ...string) (string, string, error) {
163 cliPath, cliDir, err := EnsureCli()
164 if err != nil { // failed!
165 return "", "", err
166 }
167
168 return runExecutable(cliPath, args, cliDir, createEnvForCli(space))
169}
170
171func RunCliRawOutput(space string, args ...string) ([]byte, []byte, error) {
172 cliPath, cliDir, err := EnsureCli()

Callers 3

TestReleaseCreateBasicsFunction · 0.92
TestReleaseListAndDeleteFunction · 0.92
TestAccountListFunction · 0.92

Calls 3

EnsureCliFunction · 0.85
runExecutableFunction · 0.85
createEnvForCliFunction · 0.85

Tested by 3

TestReleaseCreateBasicsFunction · 0.74
TestReleaseListAndDeleteFunction · 0.74
TestAccountListFunction · 0.74