aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJulien Dessaux2021-04-05 20:58:28 +0200
committerJulien Dessaux2021-04-05 20:58:28 +0200
commit309d17b921f75b16298cfe88ada9ba89bf646ac5 (patch)
treedd65823647fbb0769a851f34948af131b097fc60 /cmd
parentFixed scope of test helpers in navitia_api_client package (diff)
downloadtrains-309d17b921f75b16298cfe88ada9ba89bf646ac5.tar.gz
trains-309d17b921f75b16298cfe88ada9ba89bf646ac5.tar.bz2
trains-309d17b921f75b16298cfe88ada9ba89bf646ac5.zip
Added basic webui to show results
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)
+}