Documentation
¶
Overview ¶
Package ui provides shared terminal styling for bgtask CLI output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Green = lipgloss.NewStyle().Foreground(lipgloss.Green) Red = lipgloss.NewStyle().Foreground(lipgloss.Red) Yellow = lipgloss.NewStyle().Foreground(lipgloss.Yellow) Dim = lipgloss.NewStyle().Faint(true) Bold = lipgloss.NewStyle().Bold(true) // Label is for key-value output labels. Label = Dim )
Functions ¶
func StatusStyle ¶
StatusStyle returns the appropriate style for a task status string. Accepts state names, display strings, and strings with duration suffixes (e.g., "running (5m)", "exited(1) (2m ago)").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.