(_ string, retVal *[]plugin_models.GetAppsModel)
| 316 | } |
| 317 | |
| 318 | func (cmd *CliRpcCmd) GetApps(_ string, retVal *[]plugin_models.GetAppsModel) error { |
| 319 | deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout) |
| 320 | |
| 321 | // set deps objs to be the one used by all other commands |
| 322 | // once all commands are converted, we can make fresh deps for each command run |
| 323 | deps.Config = cmd.cliConfig |
| 324 | deps.RepoLocator = cmd.repoLocator |
| 325 | deps.PluginModels.AppsSummary = retVal |
| 326 | cmd.terminalOutputSwitch.DisableTerminalOutput(true) |
| 327 | deps.UI = terminal.NewUI(os.Stdin, cmd.stdout, cmd.terminalOutputSwitch.(*terminal.TeePrinter), cmd.logger) |
| 328 | |
| 329 | return cmd.newCmdRunner.Command([]string{"apps"}, deps, true) |
| 330 | } |
| 331 | |
| 332 | func (cmd *CliRpcCmd) GetOrgs(_ string, retVal *[]plugin_models.GetOrgs_Model) error { |
| 333 | deps := commandregistry.NewDependency(cmd.stdout, cmd.logger, dialTimeout) |
nothing calls this directly
no test coverage detected