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

Method SetDependency

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

Source from the content-addressed store, hash-verified

47}
48
49func (cmd *ListStacks) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
50 cmd.ui = deps.UI
51 cmd.config = deps.Config
52 cmd.stacksRepo = deps.RepoLocator.GetStackRepository()
53 return cmd
54}
55
56func (cmd *ListStacks) Execute(c flags.FlagContext) error {
57 cmd.ui.Say(T("Getting stacks in org {{.OrganizationName}} / space {{.SpaceName}} as {{.Username}}...",

Callers

nothing calls this directly

Calls 1

GetStackRepositoryMethod · 0.80

Tested by

no test coverage detected