feat: 29 funciones TUI — constructores, runners y helpers del dominio tui

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.
This commit is contained in:
2026-03-28 03:58:12 +01:00
parent fdcde03382
commit 62dcadceb8
58 changed files with 1207 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
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}
}