MCPcopy
hub / github.com/cloudfoundry/cli / Execute

Method Execute

cf/commands/logout.go:43–48  ·  view source on GitHub ↗
(c flags.FlagContext)

Source from the content-addressed store, hash-verified

41}
42
43func (cmd *Logout) Execute(c flags.FlagContext) error {
44 cmd.ui.Say(T("Logging out..."))
45 cmd.config.ClearSession()
46 cmd.ui.Ok()
47 return nil
48}

Callers

nothing calls this directly

Calls 3

SayMethod · 0.65
ClearSessionMethod · 0.65
OkMethod · 0.65

Tested by

no test coverage detected