(deps commandregistry.Dependency, pluginCall bool)
| 58 | } |
| 59 | |
| 60 | func (cmd *DeleteApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 61 | cmd.ui = deps.UI |
| 62 | cmd.config = deps.Config |
| 63 | cmd.appRepo = deps.RepoLocator.GetApplicationRepository() |
| 64 | cmd.routeRepo = deps.RepoLocator.GetRouteRepository() |
| 65 | return cmd |
| 66 | } |
| 67 | |
| 68 | func (cmd *DeleteApp) Execute(c flags.FlagContext) error { |
| 69 | appName := c.Args()[0] |
nothing calls this directly
no test coverage detected