Documentation
¶
Overview ¶
Package tui holds the bubbletea models for `wb sync`'s progress display.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressModel ¶
ProgressModel renders an overall bar, one bar per org, and a bounded live tail of in-flight repos while a sync runs.
func NewProgressModel ¶
func NewProgressModel(orgTotal map[string]int, maxInFlight int) ProgressModel
NewProgressModel builds a ProgressModel for the given per-org repo counts (orgTotal) and the worker count (maxInFlight, the live-tail row limit).
func (ProgressModel) Init ¶
func (m ProgressModel) Init() tea.Cmd
func (ProgressModel) View ¶
func (m ProgressModel) View() tea.View
type RepoStarted ¶
type RepoStarted struct{ Org, Name string }
RepoStarted signals a worker began processing org/name.
Click to show internal directories.
Click to hide internal directories.