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