(deps commandregistry.Dependency, pluginCall bool)
| 57 | } |
| 58 | |
| 59 | func (cmd *SpaceUsers) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 60 | cmd.ui = deps.UI |
| 61 | cmd.config = deps.Config |
| 62 | cmd.userRepo = deps.RepoLocator.GetUserRepository() |
| 63 | cmd.spaceRepo = deps.RepoLocator.GetSpaceRepository() |
| 64 | cmd.pluginCall = pluginCall |
| 65 | cmd.pluginModel = deps.PluginModels.SpaceUsers |
| 66 | |
| 67 | return cmd |
| 68 | } |
| 69 | |
| 70 | func (cmd *SpaceUsers) Execute(c flags.FlagContext) error { |
| 71 | spaceName := c.Args()[1] |
nothing calls this directly
no test coverage detected