cmdargs

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParamsNotEnough     = errors.New("params not enough")
	ErrTooMuchParams       = errors.New("too much params")
	ErrUnsupportedFlagType = errors.New("unsupported flag type")
	ErrUnsupportedArgType  = errors.New("unsupported argument type")
)

Functions

func Parse

func Parse(
	ctx *Context, argsType reflect.Type, cmd []string) (args reflect.Value, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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