Versions in this module Expand all Collapse all v0 v0.18.0 May 11, 2026 v0.17.0 May 8, 2026 Changes in this version + func Run(ctx context.Context, cmd *exec.Cmd, middlewares ...Middleware) error + type Command struct + func NewCommand(ctx context.Context, name string, arg ...string) *Command + func (c *Command) Args(args ...string) *Command + func (c *Command) Dir(dir string) *Command + func (c *Command) Env(env ...string) *Command + func (c *Command) Middleware(mw ...Middleware) *Command + func (c *Command) Run() error + func (c *Command) Stderr(v io.Writer) *Command + func (c *Command) Stdin(v io.Reader) *Command + func (c *Command) Stdout(v io.Writer) *Command + type Handler func(ctx context.Context, cmd *exec.Cmd) error + type Middleware func(next Handler) Handler