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

Method SetDependency

cf/commands/featureflag/feature_flag.go:48–53  ·  view source on GitHub ↗
(deps commandregistry.Dependency, pluginCall bool)

Source from the content-addressed store, hash-verified

46}
47
48func (cmd *ShowFeatureFlag) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command {
49 cmd.ui = deps.UI
50 cmd.config = deps.Config
51 cmd.flagRepo = deps.RepoLocator.GetFeatureFlagRepository()
52 return cmd
53}
54
55func (cmd *ShowFeatureFlag) Execute(c flags.FlagContext) error {
56 flagName := c.Args()[0]

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected