Documentation
¶
Index ¶
- type ArgParser
- func (ap *ArgParser) AddArgument(short, long string, required bool, help string) *string
- func (ap *ArgParser) AddBoolArgument(short, long string, defaultValue bool, help string) *bool
- func (ap *ArgParser) AddFloatArgument(short, long string, required bool, help string) *float64
- func (ap *ArgParser) AddIntArgument(short, long string, required bool, help string) *int
- func (ap *ArgParser) Parse() error
- func (ap *ArgParser) PrintHelp()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgParser ¶
type ArgParser struct {
// contains filtered or unexported fields
}
func NewArgParser ¶
func (*ArgParser) AddArgument ¶
func (*ArgParser) AddBoolArgument ¶
func (*ArgParser) AddFloatArgument ¶
func (*ArgParser) AddIntArgument ¶
Click to show internal directories.
Click to hide internal directories.