23 lines
430 B
Go
23 lines
430 B
Go
package main
|
|
|
|
import (
|
|
"github.com/LazyBachelor/LazyPM/internal/service"
|
|
"github.com/LazyBachelor/LazyPM/pkg/cli"
|
|
"context"
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
config := service.Config{
|
|
IssuePrefix: "pm",
|
|
BeadsDBPath: "./.pm/db.db",
|
|
StatisticsStoragePath: "./.pm/stats.json",
|
|
}
|
|
|
|
if err := cli.Run(context.Background(), config); err != nil {
|
|
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
|
|
os.Exit(1)
|
|
}
|
|
}
|