Documentation
¶
Index ¶
- type CommandBuilder
- func (cb *CommandBuilder) Arg(args ...string) *CommandBuilder
- func (cb *CommandBuilder) ArgIf(cond bool, args ...string) *CommandBuilder
- func (cb *CommandBuilder) Run() error
- func (cb *CommandBuilder) RunWithExitCode() int
- func (cb *CommandBuilder) RunWithOutput() (string, error)
- func (cb *CommandBuilder) SetRepo(r git.Repo) *CommandBuilder
- func (cb *CommandBuilder) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandBuilder ¶
type CommandBuilder struct {
// contains filtered or unexported fields
}
func NewCommandBuilder ¶
func NewCommandBuilder() *CommandBuilder
func (*CommandBuilder) Arg ¶
func (cb *CommandBuilder) Arg(args ...string) *CommandBuilder
func (*CommandBuilder) ArgIf ¶
func (cb *CommandBuilder) ArgIf(cond bool, args ...string) *CommandBuilder
func (*CommandBuilder) Run ¶
func (cb *CommandBuilder) Run() error
func (*CommandBuilder) RunWithExitCode ¶
func (cb *CommandBuilder) RunWithExitCode() int
func (*CommandBuilder) RunWithOutput ¶
func (cb *CommandBuilder) RunWithOutput() (string, error)
func (*CommandBuilder) SetRepo ¶
func (cb *CommandBuilder) SetRepo(r git.Repo) *CommandBuilder
func (*CommandBuilder) String ¶
func (cb *CommandBuilder) String() string
Click to show internal directories.
Click to hide internal directories.