github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+incompatible/command/v2/routes_command.go (about)

     1  package v2
     2  
     3  import (
     4  	"code.cloudfoundry.org/cli/command"
     5  	"code.cloudfoundry.org/cli/command/translatableerror"
     6  )
     7  
     8  type RoutesCommand struct {
     9  	OrgLevel        bool        `long:"orglevel" description:"List all the routes for all spaces of current organization"`
    10  	usage           interface{} `usage:"CF_NAME routes [--orglevel]"`
    11  	relatedCommands interface{} `related_commands:"check-route, domains, map-route, unmap-route"`
    12  }
    13  
    14  func (RoutesCommand) Setup(config command.Config, ui command.UI) error {
    15  	return nil
    16  }
    17  
    18  func (RoutesCommand) Execute(args []string) error {
    19  	return translatableerror.UnrefactoredCommandError{}
    20  }