Versions in this module Expand all Collapse all v1 v1.0.0 May 22, 2023 Changes in this version + type Command struct + func NewGitCommand(subCmd string) *Command + func (c *Command) Read(p []byte) (n int, err error) + func (c *Command) Run(ctx context.Context) error + func (c *Command) Start(ctx context.Context) error + func (c *Command) Wait() error + func (c *Command) WithArgs(args ...string) *Command + func (c *Command) WithEnv(env ...string) *Command + func (c *Command) WithGitDir(gitDir string) *Command + func (c *Command) WithOptions(opts ...string) *Command + func (c *Command) WithStderr(stderr io.Writer) *Command + func (c *Command) WithStdin(stdin io.Reader) *Command + func (c *Command) WithStdout(stdout io.Writer) *Command