(deps commandregistry.Dependency, pluginCall bool)
| 47 | } |
| 48 | |
| 49 | func (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 | |
| 56 | func (cmd *ListFeatureFlags) Execute(c flags.FlagContext) error { |
| 57 | cmd.ui.Say(T("Retrieving status of all flagged features as {{.Username}}...", map[string]interface{}{ |
nothing calls this directly
no test coverage detected