MCPcopy Index your code
hub / github.com/cloudfoundry/cli / SetDependency

Method SetDependency

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

Source from the content-addressed store, hash-verified

47}
48
49func (cmd *ListFeatureFlags) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
50 cmd.ui = deps.UI
51 cmd.config = deps.Config
52 cmd.flagRepo = deps.RepoLocator.GetFeatureFlagRepository()
53 return cmd
54}
55
56func (cmd *ListFeatureFlags) Execute(c flags.FlagContext) error {
57 cmd.ui.Say(T("Retrieving status of all flagged features as {{.Username}}...", map[string]interface{}{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected