test_helper

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL