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

Method SetDependency

cf/commands/stack.go:53–58  ·  view source on GitHub ↗
(deps commandregistry.Dependency, _ bool)

Source from the content-addressed store, hash-verified

51}
52
53func (cmd *ListStack) SetDependency(deps commandregistry.Dependency, _ bool) commandregistry.Command {
54 cmd.ui = deps.UI
55 cmd.config = deps.Config
56 cmd.stacksRepo = deps.RepoLocator.GetStackRepository()
57 return cmd
58}
59
60func (cmd *ListStack) Execute(c flags.FlagContext) error {
61 stackName := c.Args()[0]

Callers

nothing calls this directly

Calls 1

GetStackRepositoryMethod · 0.80

Tested by

no test coverage detected