(deps commandregistry.Dependency, pluginCall bool)
| 55 | } |
| 56 | |
| 57 | func (cmd *SetEnv) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 58 | cmd.ui = deps.UI |
| 59 | cmd.config = deps.Config |
| 60 | cmd.appRepo = deps.RepoLocator.GetApplicationRepository() |
| 61 | return cmd |
| 62 | } |
| 63 | |
| 64 | func (cmd *SetEnv) Execute(c flags.FlagContext) error { |
| 65 | varName := c.Args()[1] |
nothing calls this directly
no test coverage detected