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

Method SetDependency

cf/commands/application/apps.go:61–68  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

59}
60
61func (cmd *ListApps) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
62 cmd.ui = deps.UI
63 cmd.config = deps.Config
64 cmd.appSummaryRepo = deps.RepoLocator.GetAppSummaryRepository()
65 cmd.pluginAppModels = deps.PluginModels.AppsSummary
66 cmd.pluginCall = pluginCall
67 return cmd
68}
69
70func (cmd *ListApps) Execute(c flags.FlagContext) error {
71 cmd.ui.Say(T("Getting apps in org {{.OrgName}} / space {{.SpaceName}} as {{.Username}}...",

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected