bazel start + mcp start

This commit is contained in:
ari committed 2026-11-01 14:55:33 -05:00
1 parent a90653260a
commit 4c082aca7c
33 files changed
+1728 -79

No files matched your search

+7
View File
@@ -15,6 +15,7 @@ import (
"slackerbot/internal/local"
"slackerbot/internal/manager"
"slackerbot/internal/state"
"slackerbot/internal/tools"
)
var version = "dev"
@@ -23,6 +24,12 @@ func main() {
cfgPath := flag.String("config", "/etc/slackerbot/config.toml", "path to the config file")
mode := flag.String("mode", config.ModeMaster, "master (runs the Slack bot) or slave (runs containers for a master)")
showVersion := flag.Bool("version", false, "print the version and exit")
if len(os.Args) > 1 && os.Args[1] == "tools" {
if err := tools.Main(os.Args[2:]); err != nil {
log.Fatal(err)
}
return
}
flag.Parse()
if *showVersion {