MCPcopy Index your code
hub / github.com/cloudfoundry/cli / RouteCommand

Struct RouteCommand

command/v7/route_command.go:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type RouteCommand struct {
11 BaseCommand
12
13 RequiredArgs flag.Domain `positional-args:"yes"`
14 Hostname string `long:"hostname" short:"n" description:"Hostname used to identify the HTTP route"`
15 Path flag.V7RoutePath `long:"path" description:"Path used to identify the HTTP route"`
16 Port int `long:"port" description:"Port used to identify the TCP route"`
17 relatedCommands interface{} `related_commands:"create-route, delete-route, routes"`
18}
19
20func (cmd RouteCommand) Usage() string {
21 return `

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected