github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/command/v6/routes_command.go (about)

     1  package v6
     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  }