tramz v1.0.7
Tramz
A CLI client for public transit in Sweden to make it super easy for you to search trips and/or stops, and also save them locally to make finding the next bus/tram much easier.
Installation
$ npm install -g tramz
Usage
$tramz [command]
trams trip
Will search a trip you have saved locally.
$ tramz homeToWork
tramz origin via (optional)
Will search for a trip from origin to destination, with an optional via stop.
$ tramz 'Askims Stationsväg' 'Solrosgatan' 'Nordstan'
This also works for locally saved stops.
$ tramz home work starbucks
Stops
stops
Will list the stops you have saved locally.
$ tramz stops
stops add string
Will search for a stop with a name similar to the string you provided and save it for you locally.
$ tramz stops add 'Masthuggstorget'
stops remove name
Will remove a stop that you have saved locally based on the name you assigned to it.
$ tramz stops remove home
Trips
trips
Will list the trips you have saved locally.
$ tramz trips
trips add origin via (optional)
Will search for a trip from origin to destination, with an optional via stop and then save it locally for you.
$ tramz trips add 'Askims Stationsväg' 'Solrosgatan' 'Nordstan'
trips remove name
Will remove a trip that you have saved locally based on the name you assigned to it.
$ tramz trips remove homeToWork