(deps commandregistry.Dependency, pluginCall bool)
| 87 | } |
| 88 | |
| 89 | func (cmd *UpdateService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 90 | cmd.ui = deps.UI |
| 91 | cmd.config = deps.Config |
| 92 | cmd.serviceRepo = deps.RepoLocator.GetServiceRepository() |
| 93 | cmd.planBuilder = deps.PlanBuilder |
| 94 | return cmd |
| 95 | } |
| 96 | |
| 97 | func (cmd *UpdateService) Execute(c flags.FlagContext) error { |
| 98 | planName := c.String("p") |
nothing calls this directly
no test coverage detected