| 8 | ) |
| 9 | |
| 10 | type UnbindRouteServiceCommand struct { |
| 11 | BaseCommand |
| 12 | |
| 13 | RequiredArgs flag.RouteServiceArgs `positional-args:"yes"` |
| 14 | Force bool `short:"f" description:"Force unbinding without confirmation"` |
| 15 | Hostname string `long:"hostname" short:"n" description:"Hostname used in combination with DOMAIN to specify the route to unbind"` |
| 16 | Path flag.V7RoutePath `long:"path" description:"Path used in combination with HOSTNAME and DOMAIN to specify the route to unbind"` |
| 17 | Wait bool `short:"w" long:"wait" description:"Wait for the operation to complete"` |
| 18 | relatedCommands interface{} `related_commands:"delete-service, routes, services"` |
| 19 | } |
| 20 | |
| 21 | func (cmd UnbindRouteServiceCommand) Execute(args []string) error { |
| 22 | if err := cmd.SharedActor.CheckTarget(true, true); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected