62dcadceb8
16 constructores puros (NewList, NewSpinner, NewProgress, DefaultStyles...), 4 runners impuros (RunModel, RunFullscreen, RunWithMouseSupport, Confirm), 5 print helpers impuros (PrintSuccess/Error/Warning/Info/Muted) y 4 utilidades puras (Quit, ClearScreen, HideCursor, ShowCursor). Stubs que documentan devfactory/tui para el registry.
13 lines
338 B
Go
13 lines
338 B
Go
package tui
|
|
|
|
// Implementation: github.com/lucasdataproyects/devfactory/tui
|
|
|
|
import "github.com/charmbracelet/bubbletea"
|
|
|
|
// RunModel ejecuta un modelo Bubble Tea y devuelve el modelo final o error.
|
|
func RunModel[T tea.Model](model T) Result[T] {
|
|
// stub — implementation in devfactory/tui
|
|
var zero T
|
|
return Result[T]{Value: zero}
|
|
}
|