flags

package
v6.11.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagContext

type FlagContext interface {
	Parse(...string) error
	Args() []string
	Int(string) int
	Bool(string) bool
	String(string) string
	IsSet(string) bool
}

func NewFlagContext

func NewFlagContext(cmdFlags map[string]FlagSet) FlagContext

type FlagSet

type FlagSet interface {
	fmt.Stringer
	GetName() string
	GetValue() interface{}
	Set(string)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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