use new rootCmd name var

This commit is contained in:
Robin Olsen
2026-02-05 13:25:34 +01:00
parent 6caf654af9
commit 12748ede00
2 changed files with 7 additions and 6 deletions

20
cmd/pm/main.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
"context"
"github.com/LazyBachelor/LazyPM/pkg/cli"
)
func main() {
config := cli.CLIConfig{
RootCmd: "pm",
IssuePrefix: "pm",
BeadsDBPath: "./.pm/db.db",
StatisticsStoragePath: "./.pm/stats.json",
}
if err := cli.Run(context.Background(), config); err != nil {
return
}
}