Versions in this module Expand all Collapse all v0 v0.16.0 Feb 27, 2026 v0.15.0 Aug 18, 2025 Changes in this version + type Base struct + LookupEnv LookupEnvFunc + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + WorkingDir string + func (b *Base) Getenv(key string) string + func (b *Base) Init() + func (b *Base) ResolvePath(path string) string + func (b *Base) SetIO(stdin io.Reader, stdout io.Writer, stderr io.Writer) + func (b *Base) SetLookupEnv(lookupEnv LookupEnvFunc) + func (b *Base) SetWorkingDir(workingDir string) + type Command interface + Run func(args ...string) error + RunContext func(ctx context.Context, args ...string) error + SetIO func(stdin io.Reader, stdout io.Writer, stderr io.Writer) + SetLookupEnv func(lookupEnv LookupEnvFunc) + SetWorkingDir func(workingDir string) + type LookupEnvFunc func(string) (string, bool)