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

Method SetDependency

cf/commands/application/unset_env.go:28–33  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

26}
27
28func (cmd *UnsetEnv) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
29 cmd.ui = deps.UI
30 cmd.config = deps.Config
31 cmd.appRepo = deps.RepoLocator.GetApplicationRepository()
32 return cmd
33}
34
35func (cmd *UnsetEnv) MetaData() commandregistry.CommandMetadata {
36 return commandregistry.CommandMetadata{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected