No description
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
README.md |
abfahrt
🚂 🚆 🚄 🚅 🚍 🚊 🚢 🚡
abfahrt
is a small cli tool to find public transport connections in Switzerland. It uses routing-data from transport.opendata.ch.
Usage
Usage of abfahrt:
-arrival
time is arrival time
-date string
date for your journey, formated as YYYY-MM-DD (default "2025-08-10")
-from string
start of your yourney
-full
display full and detailed information
-in duration
time offset for your yourney, for example 1h
-time string
time for your journey, formated as YYYY-MM-DD (default "12:40")
-to string
start of your yourney
-transport string
Transportation types (comma-separated: train,tram,ship,bus,cableway)
-via string
intermediate stops, separated by ','
- At minimum,
-from
and-to
have to be specified -in
can be used to make relative timeadjustments, use-
to search for connections in the past- If only two arguments are given, they are treated as
-from
and-to
Install
go get go.lks.li/abfahrt@latest