matchertest

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArg

func NewArg(name string) matcher.Matcher

NewArg creates a positional argument matcher given its name, e.g. SRC

func NewOpt

func NewOpt(name string) matcher.Matcher

NewOpt creates a short and long option matcher given its (space separated) names, e.g. -f --force

func NewOptions

func NewOptions(names string) matcher.Matcher

NewOptions create an options matcher given their names, e.g. -abc

Types

This section is empty.

Jump to

Keyboard shortcuts

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