Documentation ¶
Index ¶
- type Handler
- type Help
- type HelpCB
- type Set
- func (f *Set) Add(name string) *Set
- func (f *Set) Args() []string
- func (f *Set) Define(cb func(*flag.FlagSet) HelpCB) *Set
- func (f *Set) Do() error
- func (f *Set) Handler(h Handler) *Set
- func (f *Set) Parse(args []string) (sub *Set, trail []string)
- func (f *Set) ParseCommandline() (sub *Set, trail []string)
- func (f *Set) Usage(ex int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
func (*Set) ParseCommandline ¶
Click to show internal directories.
Click to hide internal directories.