Versions in this module Expand all Collapse all v0 v0.0.2 Jun 20, 2021 Changes in this version + type PersistentFlagSet interface + PersistentFlags func(flags *flag.FlagSet) v0.0.1 Mar 25, 2020 Changes in this version + func ExitCode(err error) int + type Command interface + Name func() string + type ExitError struct + Code int + Err error + func (ee ExitError) Error() string + func (ee ExitError) Unwrap() error + type FlagSet interface + Flags func(flags *flag.FlagSet) + type Footer interface + Foot func() string + type Longer interface + Long func() string + type Parent interface + Commands func() []Command + type Program struct + GlobalFlags func(flags *flag.FlagSet) + Output io.Writer + Root Command + func (p *Program) Run(ctx context.Context, args ...string) error + type Runnable interface + Run func(ctx context.Context, args ...string) error + type Shorter interface + Short func() string