| 6 | ) |
| 7 | |
| 8 | type ShareRouteCommand struct { |
| 9 | BaseCommand |
| 10 | |
| 11 | RequireArgs flag.Domain `positional-args:"yes"` |
| 12 | Hostname string `long:"hostname" short:"n" description:"Hostname for the HTTP route (required for shared domains)"` |
| 13 | Path flag.V7RoutePath `long:"path" description:"Path for the HTTP route"` |
| 14 | DestinationOrg string `short:"o" description:"The org of the destination space (Default: targeted org)"` |
| 15 | DestinationSpace string `short:"s" description:"The space the route will be shared with (Default: targeted space)"` |
| 16 | |
| 17 | relatedCommands interface{} `related_commands:"create-route, map-route, unmap-route, routes"` |
| 18 | } |
| 19 | |
| 20 | func (cmd ShareRouteCommand) Usage() string { |
| 21 | return ` |
nothing calls this directly
no outgoing calls
no test coverage detected