aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/trains-webui/main.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmd/trains-webui/main.go b/cmd/trains-webui/main.go
new file mode 100644
index 0000000..76f34ea
--- /dev/null
+++ b/cmd/trains-webui/main.go
@@ -0,0 +1,16 @@
+package main
+
+import (
+ "log"
+
+ "git.adyxax.org/adyxax/trains/internal/webui"
+ "git.adyxax.org/adyxax/trains/pkg/config"
+)
+
+func main() {
+ c, err := config.LoadFile("/home/julien/.config/adyxax-trains/config.yaml")
+ if err != nil {
+ log.Fatal(err)
+ }
+ webui.Run(c)
+}