blob: 73ed475e9d3e5b7a0e835a956aa7770d50609840 [file] [log] [blame]
pkg cmdline, const ErrUsage ErrExitCode
pkg cmdline, func EnvFromOS() *Env
pkg cmdline, func ExitCode(error, io.Writer) int
pkg cmdline, func HideGlobalFlagsExcept(...*regexp.Regexp)
pkg cmdline, func Main(*Command)
pkg cmdline, func Parse(*Command, *Env, []string) (Runner, []string, error)
pkg cmdline, func ParseAndRun(*Command, *Env, []string) error
pkg cmdline, method (*Env) LookPath(string) (string, error)
pkg cmdline, method (*Env) LookPathPrefix(string, map[string]bool) ([]string, error)
pkg cmdline, method (*Env) TimerPop()
pkg cmdline, method (*Env) TimerPush(string)
pkg cmdline, method (*Env) UsageErrorf(string, ...interface{}) error
pkg cmdline, method (ErrExitCode) Error() string
pkg cmdline, method (RunnerFunc) Run(*Env, []string) error
pkg cmdline, type Command struct
pkg cmdline, type Command struct, ArgsLong string
pkg cmdline, type Command struct, ArgsName string
pkg cmdline, type Command struct, Children []*Command
pkg cmdline, type Command struct, DontInheritFlags bool
pkg cmdline, type Command struct, DontPropagateFlags bool
pkg cmdline, type Command struct, Flags flag.FlagSet
pkg cmdline, type Command struct, Long string
pkg cmdline, type Command struct, LookPath bool
pkg cmdline, type Command struct, Name string
pkg cmdline, type Command struct, ParsedFlags *flag.FlagSet
pkg cmdline, type Command struct, Runner Runner
pkg cmdline, type Command struct, Short string
pkg cmdline, type Command struct, Topics []Topic
pkg cmdline, type Env struct
pkg cmdline, type Env struct, Stderr io.Writer
pkg cmdline, type Env struct, Stdin io.Reader
pkg cmdline, type Env struct, Stdout io.Writer
pkg cmdline, type Env struct, Timer *timing.Timer
pkg cmdline, type Env struct, Usage func(*Env, io.Writer)
pkg cmdline, type Env struct, Vars map[string]string
pkg cmdline, type ErrExitCode int
pkg cmdline, type Runner interface { Run }
pkg cmdline, type Runner interface, Run(*Env, []string) error
pkg cmdline, type RunnerFunc func(*Env, []string) error
pkg cmdline, type Topic struct
pkg cmdline, type Topic struct, Long string
pkg cmdline, type Topic struct, Name string
pkg cmdline, type Topic struct, Short string