Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentHandler ¶
type ArgumentHandler struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor() *ArgumentHandler
Creates a handler and returns it This will be the handler that you will utilize
func (*ArgumentHandler) Add ¶
func (self *ArgumentHandler) Add(longName string, shortName string, needs_value bool, needs_multiple bool, required bool, desc string)
Basic way of adding an argument
func (*ArgumentHandler) AddOptions ¶
func (self *ArgumentHandler) AddOptions(longName string, shortName string, needs_value bool, needs_multiple bool, required bool, desc string, options []string)
Adds an argument but with options
func (*ArgumentHandler) Parse ¶
func (self *ArgumentHandler) Parse() map[string][]string
Parses all entered values and returns a map containing the results
type Argument_t ¶
type Argument_t struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.