Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchModel ¶
type SearchModel struct {
// contains filtered or unexported fields
}
SearchModel is the Bubble Tea model for the search TUI.
func NewSearchModel ¶
func NewSearchModel(commands []db.Command, printOnly bool) SearchModel
NewSearchModel creates a search model pre-loaded with commands.
func (SearchModel) Init ¶
func (m SearchModel) Init() tea.Cmd
func (SearchModel) Selected ¶
func (m SearchModel) Selected() string
Selected returns the command the user picked (or "" if cancelled).
func (SearchModel) View ¶
func (m SearchModel) View() string
type WorkflowsModel ¶
type WorkflowsModel struct {
// contains filtered or unexported fields
}
WorkflowsModel is the Bubble Tea model for browsing workflows.
func NewWorkflowsModel ¶
func NewWorkflowsModel(workflows []db.Workflow) WorkflowsModel
NewWorkflowsModel creates a workflow browser model.
func (WorkflowsModel) Init ¶
func (m WorkflowsModel) Init() tea.Cmd
func (WorkflowsModel) Selected ¶
func (m WorkflowsModel) Selected() *db.Workflow
Selected returns the workflow the user chose (or nil if cancelled).
func (WorkflowsModel) View ¶
func (m WorkflowsModel) View() string
Click to show internal directories.
Click to hide internal directories.