Files
fn_registry/functions/tui/run_model.go
T
egutierrez 62dcadceb8 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.
2026-03-28 03:58:12 +01:00

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}
}