| 6 | ) |
| 7 | |
| 8 | type DeleteRouteCommand struct { |
| 9 | BaseCommand |
| 10 | |
| 11 | RequiredArgs flag.Domain `positional-args:"yes"` |
| 12 | Force bool `short:"f" description:"Force deletion without confirmation"` |
| 13 | Hostname string `long:"hostname" short:"n" description:"Hostname used to identify the HTTP route (required for shared domains)"` |
| 14 | Path flag.V7RoutePath `long:"path" description:"Path used to identify the HTTP route"` |
| 15 | Port int `long:"port" description:"Port used to identify the TCP route"` |
| 16 | relatedCommands interface{} `related_commands:"delete-orphaned-routes, routes, unmap-route"` |
| 17 | } |
| 18 | |
| 19 | func (cmd DeleteRouteCommand) Usage() string { |
| 20 | return ` |
nothing calls this directly
no outgoing calls
no test coverage detected