Documentation
¶
Index ¶
- Variables
- func NewGroupedModel(items []ParallelItem, cancel context.CancelFunc) tea.Model
- func NewTabsModel(items []ParallelItem, cancel context.CancelFunc) tea.Model
- func PickTask(ctx context.Context, tasks babfile.TaskMap) (*babfile.Task, error)
- func RunParallel(model tea.Model) (*tea.Program, error)
- func RunPrompt(ctx context.Context, p babfile.PromptRun, message string) (string, error)
- type AllDoneMsg
- type ItemClearChildrenMsg
- type ItemDoneMsg
- type ItemOutputMsg
- type ItemRegisterMsg
- type ItemStartMsg
- type ParallelItem
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoTTY = errors.New("no TTY available for interactive prompt")
View Source
var ErrPromptCancelled = errors.New("prompt cancelled")
Functions ¶
func NewGroupedModel ¶ added in v0.7.10
func NewGroupedModel(items []ParallelItem, cancel context.CancelFunc) tea.Model
func NewTabsModel ¶ added in v0.7.10
func NewTabsModel(items []ParallelItem, cancel context.CancelFunc) tea.Model
Types ¶
type AllDoneMsg ¶ added in v0.7.4
type AllDoneMsg struct{}
type ItemClearChildrenMsg ¶ added in v0.7.9
type ItemClearChildrenMsg struct {
Key string
}
type ItemDoneMsg ¶ added in v0.7.4
type ItemOutputMsg ¶ added in v0.7.4
type ItemRegisterMsg ¶ added in v0.7.9
type ItemStartMsg ¶ added in v0.7.9
type ItemStartMsg struct {
Key string
}
type ParallelItem ¶ added in v0.7.4
Click to show internal directories.
Click to hide internal directories.