Files
amcs/cmd/amcs-server/main.go
Hein 66370a7f0e feat(tools): implement CRUD operations for thoughts and projects
* Add tools for creating, retrieving, updating, and deleting thoughts.
* Implement project management tools for creating and listing projects.
* Introduce linking functionality between thoughts.
* Add search and recall capabilities for thoughts based on semantic queries.
* Implement statistics and summarization tools for thought analysis.
* Create database migrations for thoughts, projects, and links.
* Add helper functions for UUID parsing and project resolution.
2026-03-24 15:38:59 +02:00

25 lines
422 B
Go

package main
import (
"context"
"flag"
"log"
"os/signal"
"syscall"
"git.warky.dev/wdevs/amcs/internal/app"
)
func main() {
var configPath string
flag.StringVar(&configPath, "config", "", "Path to the YAML config file")
flag.Parse()
ctx, stop := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
defer stop()
if err := app.Run(ctx, configPath); err != nil {
log.Fatal(err)
}
}