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

     1  package v2
     2  
     3  import (
     4  	"code.cloudfoundry.org/cli/command"
     5  	"code.cloudfoundry.org/cli/command/flag"
     6  	"code.cloudfoundry.org/cli/command/translatableerror"
     7  )
     8  
     9  type DisableServiceAccessCommand struct {
    10  	RequiredArgs    flag.Service `positional-args:"yes"`
    11  	Organization    string       `short:"o" description:"Disable access for a specified organization"`
    12  	ServicePlan     string       `short:"p" description:"Disable access to a specified service plan"`
    13  	usage           interface{}  `usage:"CF_NAME disable-service-access SERVICE [-p PLAN] [-o ORG]"`
    14  	relatedCommands interface{}  `related_commands:"marketplace, service-access, service-brokers"`
    15  }
    16  
    17  func (DisableServiceAccessCommand) Setup(config command.Config, ui command.UI) error {
    18  	return nil
    19  }
    20  
    21  func (DisableServiceAccessCommand) Execute(args []string) error {
    22  	return translatableerror.UnrefactoredCommandError{}
    23  }