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

Method SetDependency

cf/commands/organization/delete_org.go:55–60  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

53}
54
55func (cmd *DeleteOrg) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
56 cmd.ui = deps.UI
57 cmd.config = deps.Config
58 cmd.orgRepo = deps.RepoLocator.GetOrganizationRepository()
59 return cmd
60}
61
62func (cmd *DeleteOrg) Execute(c flags.FlagContext) error {
63 orgName := c.Args()[0]

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected