Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInteractiveRequired = errors.New("interactive required") ErrBlockingRequired = errors.New("blocking required") )
View Source
var ErrNoConfig = fmt.Errorf("config not found")
Functions ¶
Types ¶
type CommandRunner ¶ added in v0.1.0
type CommandRunner interface {
Run(ctx context.Context, input string) (stdout, stderr string, err error)
}
var Runner CommandRunner
type ErrorClearedMsg ¶
type ErrorClearedMsg struct{}
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewModel ¶
func NewModel(ctx *tuicontext.ProgramContext) Model
type TaskClearedMsg ¶
type TaskClearedMsg struct {
TaskID string
}
type TaskFinishedMsg ¶
type TaskProgressMsg ¶
type TaskStartedMsg ¶
type TaskStatus ¶
type TaskStatus int
const ( TaskRunning TaskStatus = iota TaskSuccess TaskFailed )
Click to show internal directories.
Click to hide internal directories.