gitcb

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL