app

package
v6.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2014 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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