(deps commandregistry.Dependency, pluginCall bool)
| 59 | } |
| 60 | |
| 61 | func (cmd *OrgUsers) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 62 | cmd.ui = deps.UI |
| 63 | cmd.config = deps.Config |
| 64 | cmd.userRepo = deps.RepoLocator.GetUserRepository() |
| 65 | cmd.pluginCall = pluginCall |
| 66 | cmd.pluginModel = deps.PluginModels.OrgUsers |
| 67 | return cmd |
| 68 | } |
| 69 | |
| 70 | func (cmd *OrgUsers) Execute(c flags.FlagContext) error { |
| 71 | org := cmd.orgReq.GetOrganization() |
nothing calls this directly
no test coverage detected