(deps commandregistry.Dependency, pluginCall bool)
| 74 | } |
| 75 | |
| 76 | func (cmd *ShowApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 77 | cmd.ui = deps.UI |
| 78 | cmd.config = deps.Config |
| 79 | cmd.appSummaryRepo = deps.RepoLocator.GetAppSummaryRepository() |
| 80 | cmd.appInstancesRepo = deps.RepoLocator.GetAppInstancesRepository() |
| 81 | cmd.stackRepo = deps.RepoLocator.GetStackRepository() |
| 82 | |
| 83 | cmd.pluginAppModel = deps.PluginModels.Application |
| 84 | cmd.pluginCall = pluginCall |
| 85 | |
| 86 | return cmd |
| 87 | } |
| 88 | |
| 89 | func (cmd *ShowApp) Execute(c flags.FlagContext) error { |
| 90 | app := cmd.appReq.GetApplication() |
nothing calls this directly
no test coverage detected