(deps commandregistry.Dependency, pluginCall bool)
| 80 | } |
| 81 | |
| 82 | func (cmd *DeleteRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 83 | cmd.ui = deps.UI |
| 84 | cmd.config = deps.Config |
| 85 | cmd.routeRepo = deps.RepoLocator.GetRouteRepository() |
| 86 | return cmd |
| 87 | } |
| 88 | |
| 89 | func (cmd *DeleteRoute) Execute(c flags.FlagContext) error { |
| 90 | host := c.String("n") |
nothing calls this directly
no test coverage detected