package
Version:
v0.12.2
Opens a new window with list of versions in this module.
Published: Jul 12, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BoolFlag struct {
Name string
Usage string
EnvVar string
}
func (f BoolFlag) Default() interface{}
func (f BoolFlag) String() string
TODO: Could this be done more succinctly using embedding?
type Flag interface {
fmt.Stringer
Default() interface{}
}
type IntFlag struct {
Name string
Usage string
EnvVar string
Value int
}
func (f IntFlag) Default() interface{}
func (f IntFlag) String() string
TODO: Could this be done more succinctly using embedding?
type StringFlag struct {
Name string
Usage string
EnvVar string
Value string
}
func (f StringFlag) Default() interface{}
func (f StringFlag) String() string
TODO: Could this be done more succinctly using embedding?
type StringSliceFlag struct {
Name string
Usage string
EnvVar string
Value []string
}
func (f StringSliceFlag) Default() interface{}
func (f StringSliceFlag) String() string
TODO: Could this be done more succinctly using embedding?
Source Files
¶
Click to show internal directories.
Click to hide internal directories.