Merge remote-tracking branch 'origin/main' into LPM-32

This commit is contained in:
Robin Olsen
2026-02-10 10:07:34 +01:00
21 changed files with 1072 additions and 153 deletions

View File

@@ -5,14 +5,20 @@ import (
"fmt"
"os"
"context"
"fmt"
"os"
"github.com/LazyBachelor/LazyPM/pkg"
"github.com/LazyBachelor/LazyPM/pkg/cli"
"github.com/LazyBachelor/LazyPM/pkg/cli/repl"
"github.com/LazyBachelor/LazyPM/pkg/tui"
"github.com/LazyBachelor/LazyPM/pkg/web"
)
func main() {
config := pkg.SurveyConfig{
RootCmd: "pm",
WebAddress: "localhost:8080",
IssuePrefix: "pm",
BeadsDBPath: "./.pm/db.db",
@@ -26,7 +32,9 @@ func main() {
case "tui":
_, err = tui.Run(ctx, config)
case "cli":
err = cli.Run(ctx, config)
err = cli.RunWithArgs(ctx, config, os.Args[2:])
case "repl":
err = repl.RunREPL(ctx, config)
case "web":
err = web.Run(ctx, config)
default: