(_ string, retVal *[]plugin_models.GetOrgs_Model)
| 330 | } |
| 331 | |
| 332 | func (cmd *CliRpcCmd) GetOrgs(_ string, retVal *[]plugin_models.GetOrgs_Model) error { |
| 333 | deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout) |
| 334 | |
| 335 | // set deps objs to be the one used by all other commands |
| 336 | // once all commands are converted, we can make fresh deps for each command run |
| 337 | deps.Config = cmd.cliConfig |
| 338 | deps.RepoLocator = cmd.repoLocator |
| 339 | deps.PluginModels.Organizations = retVal |
| 340 | cmd.terminalOutputSwitch.DisableTerminalOutput(true) |
| 341 | deps.UI = terminal.NewUI(os.Stdin, cmd.stdout, cmd.terminalOutputSwitch.(*terminal.TeePrinter), cmd.logger) |
| 342 | |
| 343 | return cmd.newCmdRunner.Command([]string{"orgs"}, deps, true) |
| 344 | } |
| 345 | |
| 346 | func (cmd *CliRpcCmd) GetSpaces(_ string, retVal *[]plugin_models.GetSpaces_Model) error { |
| 347 | deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout) |
nothing calls this directly
no test coverage detected