23 lines
370 B
Go
23 lines
370 B
Go
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",
|
|
}
|
|
|
|
cli := cli.NewCli()
|
|
|
|
if err := cli.Run(context.Background(), config); err != nil {
|
|
return
|
|
}
|
|
}
|