edfff680b3
TUI fullscreen con dos tabs: Pipelines (lista filtrable del registry, lanzamiento como subproceso, registro automático en operations.db) y History (historial de ejecuciones con status, duración y detalles). Incluye launcher.sh en la raíz para ejecución rápida. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
441 B
Go
30 lines
441 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"pipeline-launcher/app"
|
|
"pipeline-launcher/config"
|
|
|
|
"github.com/lucasdataproyects/devfactory/tui"
|
|
)
|
|
|
|
func main() {
|
|
cfg := config.Default()
|
|
|
|
model, err := app.New(cfg)
|
|
if err != nil {
|
|
fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
|
os.Exit(1)
|
|
}
|
|
defer model.Close()
|
|
|
|
result := tui.RunFullscreen(model)
|
|
|
|
if result.IsErr() {
|
|
fmt.Fprintf(os.Stderr, "error: %v\n", result.Error())
|
|
os.Exit(1)
|
|
}
|
|
}
|