hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
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
+}