(deps commandregistry.Dependency, pluginCall bool)
| 59 | } |
| 60 | |
| 61 | func (cmd *ListApps) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 62 | cmd.ui = deps.UI |
| 63 | cmd.config = deps.Config |
| 64 | cmd.appSummaryRepo = deps.RepoLocator.GetAppSummaryRepository() |
| 65 | cmd.pluginAppModels = deps.PluginModels.AppsSummary |
| 66 | cmd.pluginCall = pluginCall |
| 67 | return cmd |
| 68 | } |
| 69 | |
| 70 | func (cmd *ListApps) Execute(c flags.FlagContext) error { |
| 71 | cmd.ui.Say(T("Getting apps in org {{.OrgName}} / space {{.SpaceName}} as {{.Username}}...", |
nothing calls this directly
no test coverage detected