MCPcopy Index your code
hub / github.com/cloudfoundry/cli / ClearTarget

Function ClearTarget

integration/helpers/login.go:150–153  ·  view source on GitHub ↗

ClearTarget logs out and logs back into the CLI using LogoutCF and LoginCF.

()

Source from the content-addressed store, hash-verified

148
149// ClearTarget logs out and logs back into the CLI using LogoutCF and LoginCF.
150func ClearTarget() {
151 LogoutCF()
152 LoginCF()
153}
154
155// SetupCF logs into the CLI with LoginCF, creates the given org and space, and targets that
156// org and space.

Calls 2

LogoutCFFunction · 0.85
LoginCFFunction · 0.85

Tested by

no test coverage detected