-
Notifications
You must be signed in to change notification settings - Fork 1
Usage
Kaya-Sem edited this page Feb 4, 2025
·
7 revisions
Commandtrein supports the following actions:
Displays timetable / liveboard for a given station
commandtrein timetable <station> # shows timetable for stationExample:
commandtrein Gent-Sint-PietersFind connections between two stations
commandtrein <station1> <station2>Example:
commandtrein Gent-Sint-Pieters Zingemthis command will display the available connections, including departure and arrival times, duration, and platform information. You can use the -t --time flag and an hour formatted as hhmm to specify departure hour:
commandtrein Zingem Ronse -t 1600List all SNCB stations
commandtrein searchTo filter results, you will have to use tools like grep. Filtering is planned in upcoming releases
List all SNCB disturbances
commandtrein issuesList all shortcuts
commandtrein shortcut listAdd a new shortcut
commandtrein shortcut add <name> <station1> <station2>To use a shortcut, you can just call the program with the shortcut name, time flag supported.
commandtrein shortcut add work zingem ronse
commandtrein work -t 0800