cliFlags

package
v6.12.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolFlag

type BoolFlag struct {
	Name  string
	Value bool
	Usage string
}

func (*BoolFlag) GetName

func (f *BoolFlag) GetName() string

func (*BoolFlag) GetValue

func (f *BoolFlag) GetValue() interface{}

func (*BoolFlag) Set

func (f *BoolFlag) Set(v string)

func (*BoolFlag) String

func (f *BoolFlag) String() string

type IntFlag

type IntFlag struct {
	Name  string
	Value int
	Usage string
}

func (*IntFlag) GetName

func (f *IntFlag) GetName() string

func (*IntFlag) GetValue

func (f *IntFlag) GetValue() interface{}

func (*IntFlag) Set

func (f *IntFlag) Set(v string)

func (*IntFlag) String

func (f *IntFlag) String() string

type StringFlag

type StringFlag struct {
	Name  string
	Value string
	Usage string
}

func (*StringFlag) GetName

func (f *StringFlag) GetName() string

func (*StringFlag) GetValue

func (f *StringFlag) GetValue() interface{}

func (*StringFlag) Set

func (f *StringFlag) Set(v string)

func (*StringFlag) String

func (f *StringFlag) String() string

type StringSliceFlag

type StringSliceFlag struct {
	Name  string
	Value []string
	Usage string
}

StringSlice flag can be define multiple times in the arguments

func (*StringSliceFlag) GetName

func (f *StringSliceFlag) GetName() string

func (*StringSliceFlag) GetValue

func (f *StringSliceFlag) GetValue() interface{}

func (*StringSliceFlag) Set

func (f *StringSliceFlag) Set(v string)

func (*StringSliceFlag) String

func (f *StringSliceFlag) String() string

Jump to

Keyboard shortcuts

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