SYNOPSIS nextcaltrain [OPTIONS] FROM TODESCRIPTION nextcaltrain prints the schedule of the next Caltrain from the FROM station to the TO station.OPTIONS --number NUMBER, -n NUMBER Show NUMBER of possible trips. Default is 1.EXAMPLES nextcaltrain sf sunnyvale nextcaltrain -n 5 "san fran" "san mateo"
Example
$ nextcaltrain sf smatFrom: San FranciscoTo: San Mateo12:07pm – 12:40pmSB 146 Local, 33 min, 7 stops > 12:07pm San Francisco > 12:12pm 22nd Street > 12:17pm Bayshore > 12:23pm So. San Francisco > 12:27pm San Bruno > 12:31pm Millbrae > 12:35pm Burlingame > 12:40pm San Mateo
Data
Schedule data is provided by Caltrain in the GTFS
format. This data is stored in its original format in the data/
directory and also as JSON in data.json. This data can be updated
using the update-data script.