mow.cli: github.com/jawher/mow.cli/internal/matcher/matchertest Index | Files

package matchertest

import "github.com/jawher/mow.cli/internal/matcher/matchertest"

Index

Package Files

matchertest.go

func NewArg Uses

func NewArg(name string) matcher.Matcher

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

func NewOpt Uses

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 Uses

func NewOptions(names string) matcher.Matcher

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

Package matchertest imports 5 packages (graph). Updated 2017-11-11. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).