NAME
aseag-m - Unofficial interface to the ASEAG departure monitor
SYNOPSIS
aseag-m [-pV] [-l lines] [-o outputtypes] [-s timefmt | -S timefmt] [-v stopname] stopname
VERSION
version 0.05
DESCRIPTION
aseag-m lists upcoming bus departures at the ASEAG stop name.
OPTIONS
- -l, --line lines
-
Limit output to departures of lines (comma-separated list of line names, may be used multiple times).
- -o, --output outputtypes
-
Format output according to outputtypes. outputtypes is a comma-separated list and the --output option may be repeated. Each output type has both a short and a long form, so for instance both
-or,T
and--output=route_interesting,relative_times
are valid.Valid output types are:
- a / route_after
-
For each departure, include the route after name. Both stop names and departure times are shown.
- b / route_before
-
For each departure, include the route leading to name. Both stop names and departure times are shown.
- f / route_full
-
For each departure, include the entire route (stop names and departure times).
- r / route_interesting
-
For each departure, show up to three "interesting" stops between name and its destination. The importance of a stop is determined heuristically based on its name, so it is not always accurate.
- T / relative_times
-
Show relative times. Applies to departure and route output.
- -p, --with-past
-
Include past departures. Applies both to the departure output and to the route output of -oa, -ob, -of.
- -s, --strftime format
-
Format absolute times in format, applies both to departure and route output. See DateTime(3pm) for allowed patterns.
- -S, --strfrel format
-
Format relative times in format, only applies when used with -oT. See DateTime::Format::Duration(3pm) for allowed patterns.
- -v, --via stop
-
Only show lines which also serve stop after name.
- -V, --version
-
Show version information.
EXIT STATUS
Normally zero. 1 means aseag-m was called with invalid options, 2 indicates a request error from Travel::Status::DE::URA(3pm), 3 a bad (unknown or ambiguous) stop name.
CONFIGURATION
None.
DEPENDENCIES
Class::Accessor(3pm)
DateTime(3pm)
DateTime::Format::Duration(3pm)
LWP::UserAgent(3pm)
Text::CSV(3pm)
BUGS AND LIMITATIONS
Unknown.
AUTHOR
Copyright (C) 2013-2015 by Daniel Friesel <derf@finalrewind.org>
LICENSE
This program is licensed under the same terms as Perl itself.