make survery use new tui

This commit is contained in:
Robin Olsen
2026-02-04 19:44:28 +01:00
parent 008bfd1efb
commit 3a9b8a8bd1

View File

@@ -1,13 +1,14 @@
package main package main
import ( import (
"context"
"fmt"
"os"
"github.com/LazyBachelor/LazyPM/pkg" "github.com/LazyBachelor/LazyPM/pkg"
"github.com/LazyBachelor/LazyPM/pkg/cli" "github.com/LazyBachelor/LazyPM/pkg/cli"
"github.com/LazyBachelor/LazyPM/pkg/tui" "github.com/LazyBachelor/LazyPM/pkg/tui"
"github.com/LazyBachelor/LazyPM/pkg/web" "github.com/LazyBachelor/LazyPM/pkg/web"
"context"
"fmt"
"os"
) )
func main() { func main() {
@@ -23,7 +24,7 @@ func main() {
switch os.Args[1] { switch os.Args[1] {
case "tui": case "tui":
err = tui.Run(ctx, config) _, err = tui.Run(ctx, config)
case "cli": case "cli":
err = cli.Run(ctx, config) err = cli.Run(ctx, config)
case "web": case "web":