tramz
v1.0.7
Published
A CLI client for Swedish public transit that helps you find trips faster and more conveniently.
Maintainers
Readme
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 homeToWorktramz [origin] [destination] [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 starbucksStops
stops
Will list the stops you have saved locally.
$ tramz stopsstops 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 homeTrips
trips
Will list the trips you have saved locally.
$ tramz tripstrips add [origin] [destination] [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