Versions in this module Expand all Collapse all v0 v0.0.3 Jun 10, 2019 Changes in this version + type Help struct + func (Help) Run(ctx context.Context, args []string) error + type Helper interface + Help func() string + type Initializer interface + Init func(ctx context.Context, name string, args []string) (context.Context, error) + type Item struct + func New(name string, root interface{}) (*Item, error) + func (m *Item) Dispatch(ctx context.Context, args []string) error + func (m *Item) Resolve(path []string) (*Item, []string) + func (m *Item) SetOutput(w io.Writer) + type RunFunc func(context.Context, []string) error + func (rf RunFunc) Run(ctx context.Context, args []string) error + type Runner interface + Run func(ctx context.Context, args []string) error + type Summarizer interface + Summary func() string