Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FlagFactory ¶
type FlagFactory struct {
// contains filtered or unexported fields
}
FlagFactory is a factory that can be used to create flag sets.
func NewFactory ¶
func NewFactory(name string) *FlagFactory
NewFactory creates a new flag factory with the given name.
func (*FlagFactory) PlainArgs ¶
func (f *FlagFactory) PlainArgs(args []string) []string
PlainArgs parse the args with no flags.
Click to show internal directories.
Click to hide internal directories.