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

Method SetDependency

cf/commands/application/set_env.go:57–62  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

55}
56
57func (cmd *SetEnv) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
58 cmd.ui = deps.UI
59 cmd.config = deps.Config
60 cmd.appRepo = deps.RepoLocator.GetApplicationRepository()
61 return cmd
62}
63
64func (cmd *SetEnv) Execute(c flags.FlagContext) error {
65 varName := c.Args()[1]

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected