app

package
v6.5.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2014 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const UnknownCommand = "cf: '%s' is not a registered command. See 'cf help'"

Variables

View Source
var CodeGangstaHelpPrinter = cli.HelpPrinter

Functions

func NewApp

func NewApp(cmdRunner command_runner.Runner, metadatas ...command_metadata.CommandMetadata) (app *cli.App)

func ShowHelp

func ShowHelp(helpTemplate string, thingToPrint interface{})

Types

type IntFlagWithNoDefault

type IntFlagWithNoDefault struct {
	cli.IntFlag
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL