options

package
v0.0.0-...-fe0cd8a Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(command string, shortDescription string, longDescription string, data interface{}) (*flags.Command, error)

func ParseOptions

func ParseOptions() ([]string, error)

Types

type Options

type Options struct {
	Debug bool `short:"D" long:"debug" description:"Show debug messages"`
}

func GetOptions

func GetOptions() *Options

func (Options) Validate

func (opts Options) Validate() error

Jump to

Keyboard shortcuts

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