Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor runs batch commands.
func NewExecutor ¶
NewExecutor creates a batch executor.
func (*Executor) SetProgress ¶
func (e *Executor) SetProgress(fn ProgressFunc)
SetProgress sets the progress callback.
type ProgressFunc ¶
type ProgressFunc func(done, total int)
ProgressFunc is called after each command completes.
Click to show internal directories.
Click to hide internal directories.