app

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2014 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewApp

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

func ShowAppHelp

func ShowAppHelp(helpTemplate string, appToPrint 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