Documentation ¶
Index ¶
- Variables
- func CmdSync(name string, arg ...string) (ok bool)
- func CmdSyncCd(directory string, name string, arg ...string) (ok bool)
- func MaybeInstallProgram(name string, installCmd Runnable) (ok bool)
- func SearchProgram(name string) (programPath string, ok bool)
- func Watch(patterns, ignoredPatterns []string, name string, args ...string)
- func WatchFiles(patterns []string, ignoredPatterns []string) bool
- func YesOrNoPrompt(text string) bool
- type Cmd
- func (c Cmd) Kill() (ok bool)
- func (c Cmd) Process() *os.Process
- func (c Cmd) Run() (ok bool)
- func (c Cmd) SetDirectory(directory string)
- func (c Cmd) SetStderr(stderr io.Writer)
- func (c Cmd) SetStdin(stdin io.Reader)
- func (c Cmd) SetStdout(stdout io.Writer)
- func (c Cmd) Start() (ok bool)
- func (c Cmd) String() string
- func (c Cmd) Wait() error
- type LogWriter
- type PipedCmds
- type Runnable
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MaybeInstallProgram ¶
func SearchProgram ¶
func WatchFiles ¶ added in v0.3.0
func YesOrNoPrompt ¶
Types ¶
type PipedCmds ¶
type PipedCmds struct {
// contains filtered or unexported fields
}
func NewPipedCmds ¶
Click to show internal directories.
Click to hide internal directories.