cmd

package
v0.0.0-...-88f351d Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: MIT, CC-BY-4.0, MIT, + 1 more Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
)

Functions

func Run

func Run(args []string)

Types

type NewFlagsValue

type NewFlagsValue struct {
	FlagSet *flag.FlagSet
	Flags   []string
}

func NewFlagsFlag

func NewFlagsFlag(flagSet *flag.FlagSet, name string) *NewFlagsValue

NewFlagsFlag returns a special flag value installed on the given flagset with the given name. When this flag is encountered while parsing, it ensures that a definition for all the given flag names exists.

func (*NewFlagsValue) Set

func (v *NewFlagsValue) Set(flags string) error

func (*NewFlagsValue) String

func (v *NewFlagsValue) String() string

Jump to

Keyboard shortcuts

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