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

     1  package v6
     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 ConfigCommand struct {
    10  	AsyncTimeout int               `long:"async-timeout" description:"Timeout for async HTTP requests"`
    11  	Color        flag.Color        `long:"color" description:"Enable or disable color"`
    12  	Locale       flag.Locale       `long:"locale" description:"Set default locale. If LOCALE is 'CLEAR', previous locale is deleted."`
    13  	Trace        flag.PathWithBool `long:"trace" description:"Trace HTTP requests"`
    14  	usage        interface{}       `usage:"CF_NAME config [--async-timeout TIMEOUT_IN_MINUTES] [--trace (true | false | path/to/file)] [--color (true | false)] [--locale (LOCALE | CLEAR)]"`
    15  }
    16  
    17  func (ConfigCommand) Setup(config command.Config, ui command.UI) error {
    18  	return nil
    19  }
    20  
    21  func (ConfigCommand) Execute(args []string) error {
    22  	return translatableerror.UnrefactoredCommandError{}
    23  }