Documentation ¶
Index ¶
- type ParserPattern
- func (p *ParserPattern) AddArgument(arg argument.InputArgument) *ParserPattern
- func (p *ParserPattern) AddOption(opt option.InputOption) *ParserPattern
- func (p *ParserPattern) ArgumentArrays() map[string][]string
- func (p *ParserPattern) Arguments() map[string]string
- func (p *ParserPattern) Argv() []string
- func (p *ParserPattern) Definition() *definition.InputDefinition
- func (p *ParserPattern) Message() string
- func (p *ParserPattern) OptionArrays() map[string][]string
- func (p *ParserPattern) Options() map[string]string
- func (p *ParserPattern) SetArgumentArrays(argumentArrays map[string][]string) *ParserPattern
- func (p *ParserPattern) SetArguments(arguments map[string]string) *ParserPattern
- func (p *ParserPattern) SetMessage(message string) *ParserPattern
- func (p *ParserPattern) SetOptionArrays(optionArrays map[string][]string) *ParserPattern
- func (p *ParserPattern) SetOptions(options map[string]string) *ParserPattern
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParserPattern ¶
type ParserPattern struct {
// contains filtered or unexported fields
}
func NewParserPattern ¶
func NewParserPattern(argv []string) *ParserPattern
func (*ParserPattern) AddArgument ¶
func (p *ParserPattern) AddArgument(arg argument.InputArgument) *ParserPattern
func (*ParserPattern) AddOption ¶
func (p *ParserPattern) AddOption(opt option.InputOption) *ParserPattern
func (*ParserPattern) ArgumentArrays ¶
func (p *ParserPattern) ArgumentArrays() map[string][]string
func (*ParserPattern) Arguments ¶
func (p *ParserPattern) Arguments() map[string]string
func (*ParserPattern) Argv ¶
func (p *ParserPattern) Argv() []string
func (*ParserPattern) Definition ¶
func (p *ParserPattern) Definition() *definition.InputDefinition
func (*ParserPattern) Message ¶
func (p *ParserPattern) Message() string
func (*ParserPattern) OptionArrays ¶
func (p *ParserPattern) OptionArrays() map[string][]string
func (*ParserPattern) Options ¶
func (p *ParserPattern) Options() map[string]string
func (*ParserPattern) SetArgumentArrays ¶
func (p *ParserPattern) SetArgumentArrays(argumentArrays map[string][]string) *ParserPattern
func (*ParserPattern) SetArguments ¶
func (p *ParserPattern) SetArguments(arguments map[string]string) *ParserPattern
func (*ParserPattern) SetMessage ¶
func (p *ParserPattern) SetMessage(message string) *ParserPattern
func (*ParserPattern) SetOptionArrays ¶
func (p *ParserPattern) SetOptionArrays(optionArrays map[string][]string) *ParserPattern
func (*ParserPattern) SetOptions ¶
func (p *ParserPattern) SetOptions(options map[string]string) *ParserPattern
Click to show internal directories.
Click to hide internal directories.