MCPcopy Create free account
hub / github.com/cloudfoundry/cli / SetDependency

Method SetDependency

cf/commands/application/rename.go:54–59  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

52}
53
54func (cmd *RenameApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
55 cmd.ui = deps.UI
56 cmd.config = deps.Config
57 cmd.appRepo = deps.RepoLocator.GetApplicationRepository()
58 return cmd
59}
60
61func (cmd *RenameApp) Execute(c flags.FlagContext) error {
62 app := cmd.appReq.GetApplication()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected