Versions in this module Expand all Collapse all v1 v1.1.0 Mar 13, 2024 v1.0.0 Aug 29, 2023 Changes in this version + type Commander interface + Main func(ctx context.Context, pwd string, args []string) error + type ExitCoder interface + ExitCode func() int + type ExitError struct + Code int + Err error + func (e ExitError) As(target any) bool + func (e ExitError) Error() string + func (e ExitError) ExitCode() int + func (e ExitError) Is(target error) bool + func (e ExitError) Unwrap() error + type Garlic struct + Cmd Commander + FS fs.FS + IO iox.IO + Name string + func (g *Garlic) Main(ctx context.Context, pwd string, args []string) error + func (g Garlic) PluginName() string + type Local struct + FS fs.FS + IO iox.IO + Name string + Root string + func (l Local) Exists() bool + func (l Local) Run(ctx context.Context, args []string) error + func (l Local) String() string + type SettableFS interface + SetFS func(fs fs.FS) + type SettableIO interface + SetIO func(io iox.IO)