Documentation ¶
Index ¶
Constants ¶
View Source
const UnknownCommand = "cf: '%s' is not a registered command. See 'cf help'"
Variables ¶
View Source
var CodeGangstaHelpPrinter = cli.HelpPrinter
View Source
var T goi18n.TranslateFunc
Functions ¶
func NewApp ¶
func NewApp(cmdRunner command_runner.Runner, metadatas ...command_metadata.CommandMetadata) (app *cli.App)
Types ¶
type IntFlagWithNoDefault ¶
func NewIntFlag ¶
func NewIntFlag(name, usage string) IntFlagWithNoDefault
func NewIntFlagWithValue ¶
func NewIntFlagWithValue(name, usage string, value int) IntFlagWithNoDefault
func (IntFlagWithNoDefault) String ¶
func (f IntFlagWithNoDefault) String() string
type StringFlagWithNoDefault ¶
type StringFlagWithNoDefault struct {
cli.StringFlag
}
func NewStringFlag ¶
func NewStringFlag(name, usage string) StringFlagWithNoDefault
func (StringFlagWithNoDefault) String ¶
func (f StringFlagWithNoDefault) String() string
type StringSliceFlagWithNoDefault ¶
type StringSliceFlagWithNoDefault struct {
cli.StringSliceFlag
}
func NewStringSliceFlag ¶
func NewStringSliceFlag(name, usage string) StringSliceFlagWithNoDefault
func (StringSliceFlagWithNoDefault) String ¶
func (f StringSliceFlagWithNoDefault) String() string
Click to show internal directories.
Click to hide internal directories.