github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+incompatible/command/v2/service_access_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 ServiceAccessCommand struct {
     9  	Broker          string      `short:"b" description:"Access for plans of a particular broker"`
    10  	Service         string      `short:"e" description:"Access for service name of a particular service offering"`
    11  	Organization    string      `short:"o" description:"Plans accessible by a particular organization"`
    12  	usage           interface{} `usage:"CF_NAME service-access [-b BROKER] [-e SERVICE] [-o ORG]"`
    13  	relatedCommands interface{} `related_commands:"marketplace, disable-service-access, enable-service-access, service-brokers"`
    14  }
    15  
    16  func (ServiceAccessCommand) Setup(config command.Config, ui command.UI) error {
    17  	return nil
    18  }
    19  
    20  func (ServiceAccessCommand) Execute(args []string) error {
    21  	return translatableerror.UnrefactoredCommandError{}
    22  }