(deps commandregistry.Dependency, pluginCall bool)
| 46 | } |
| 47 | |
| 48 | func (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 | |
| 55 | func (cmd *ShowFeatureFlag) Execute(c flags.FlagContext) error { |
| 56 | flagName := c.Args()[0] |
nothing calls this directly
no test coverage detected