cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2017 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildModeInvalidType = os.ModeSymlink | os.ModeNamedPipe | os.ModeSocket | os.ModeDevice
View Source
var ErrShowedHelp = errors.New("already showed help")

Functions

func Run added in v0.2.2

func Run(subCmd string, args []string) int

Types

type Cmd added in v0.2.2

type Cmd interface {
	Run(args []string) int
	FlagSet() *flag.FlagSet
}

Jump to

Keyboard shortcuts

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