(deps commandregistry.Dependency, pluginCall bool)
| 52 | } |
| 53 | |
| 54 | func (cmd *Env) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 55 | cmd.ui = deps.UI |
| 56 | cmd.config = deps.Config |
| 57 | cmd.appRepo = deps.RepoLocator.GetApplicationRepository() |
| 58 | return cmd |
| 59 | } |
| 60 | |
| 61 | func (cmd *Env) Execute(c flags.FlagContext) error { |
| 62 | app, err := cmd.appRepo.Read(c.Args()[0]) |
nothing calls this directly
no test coverage detected