(args []string, retVal *[]plugin_models.GetSpaceUsers_Model)
| 387 | } |
| 388 | |
| 389 | func (cmd *CliRpcCmd) GetSpaceUsers(args []string, retVal *[]plugin_models.GetSpaceUsers_Model) error { |
| 390 | deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout) |
| 391 | |
| 392 | // set deps objs to be the one used by all other commands |
| 393 | // once all commands are converted, we can make fresh deps for each command run |
| 394 | deps.Config = cmd.cliConfig |
| 395 | deps.RepoLocator = cmd.repoLocator |
| 396 | deps.PluginModels.SpaceUsers = retVal |
| 397 | cmd.terminalOutputSwitch.DisableTerminalOutput(true) |
| 398 | deps.UI = terminal.NewUI(os.Stdin, cmd.stdout, cmd.terminalOutputSwitch.(*terminal.TeePrinter), cmd.logger) |
| 399 | |
| 400 | return cmd.newCmdRunner.Command(append([]string{"space-users"}, args...), deps, true) |
| 401 | } |
| 402 | |
| 403 | func (cmd *CliRpcCmd) GetOrg(orgName string, retVal *plugin_models.GetOrg_Model) error { |
| 404 | deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout) |
nothing calls this directly
no test coverage detected