cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrInvalidArgs is returned when we have missing cli arguments
	ErrInvalidArgs = errors.New("cli: missing arguments")
)

Functions

This section is empty.

Types

type WFWikiParams

type WFWikiParams struct {
	Module *string
	Query  *string
}

WFWikiParams is used to encapsulate the values CLI args we're expecting

func (*WFWikiParams) Parse

func (w *WFWikiParams) Parse(args []string) error

Parse sets up our expected CLI flags and parses them

Jump to

Keyboard shortcuts

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