cmd

package
v0.0.0-...-978c921 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 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