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

Method Execute

cf/commands/version.go:48–51  ·  view source on GitHub ↗
(context flags.FlagContext)

Source from the content-addressed store, hash-verified

46}
47
48func (cmd *Version) Execute(context flags.FlagContext) error {
49 cmd.ui.Say(fmt.Sprintf("%s version %s", cf.Name, version.VersionString()))
50 return nil
51}

Callers

nothing calls this directly

Calls 2

VersionStringFunction · 0.92
SayMethod · 0.65

Tested by

no test coverage detected