hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-29 02:17:12 +0200
committerhachem <im@hachem.wtf>2026-08-29 02:17:12 +0200
commite56d21fa04450d118f76347a96a12d1d5477958f (patch)
tree06d590ef64153e2ab92306a4a7cc63d6fef47286 /internal
parent43d92fd60d75c4a1260757c75b1e1eefc0ea8952 (diff)
setup: prepare go workspace
Diffstat (limited to 'internal')
-rw-r--r--internal/bot/bot.go13
-rw-r--r--internal/cli/cli.go12
2 files changed, 25 insertions, 0 deletions
diff --git a/internal/bot/bot.go b/internal/bot/bot.go
new file mode 100644
index 0000000..31c776d
--- /dev/null
+++ b/internal/bot/bot.go
@@ -0,0 +1,13 @@
+// Package bot implements Benson's Discord bot, which periodically checks
+// configured Modrinth mods for compatibility and posts reports to a channel.
+package bot
+
+import "fmt"
+
+// Run starts the Discord bot and blocks until it is stopped.
+//
+// TODO: port the Modrinth compatibility checker and Discord integration.
+func Run() error {
+ fmt.Println("benson bot — not yet implemented")
+ return nil
+}
diff --git a/internal/cli/cli.go b/internal/cli/cli.go
new file mode 100644
index 0000000..337cb71
--- /dev/null
+++ b/internal/cli/cli.go
@@ -0,0 +1,12 @@
+// Package cli implements Benson's interactive server-manager REPL.
+package cli
+
+import "fmt"
+
+// Run starts the interactive CLI. version is displayed in the banner.
+//
+// TODO: port the REPL and commands (list-mods, check, generate, merge, clean).
+func Run(version string) error {
+ fmt.Printf("benson CLI v%s — not yet implemented\n", version)
+ return nil
+}