Documentation ¶
Index ¶
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewGitCommand ¶
func (*Command) WithGitDir ¶
func (*Command) WithOptions ¶
Click to show internal directories.
Click to hide internal directories.