Crates.io | rat-rs |
lib.rs | rat-rs |
version | 0.1.2 |
source | src |
created_at | 2022-05-02 19:16:54.497858 |
updated_at | 2022-07-01 21:04:41.578926 |
description | A simple cli tool to fetch transports schedules on the Ile-de-France région |
homepage | |
repository | https://github.com/nag763/rat-rs |
max_upload_size | |
id | 579263 |
size | 66,239 |
A simple cli tool to fetch transports schedules on the Ile-de-France région
cargo install rat-rs
cargo install --git https://github.com/nag763/rat-rs
Might come soon
usr@penguin:$ rat-rs --help
rat-rs 0.1.2
LABEYE Loïc <loic.labeye@pm.me>
This tool has for purpose to show the schedules of the parisians transports for the given arguments.
USAGE:
rat-rs <TRANSPORT_TYPE> <CODE> <STATION> <WAY>
ARGS:
<TRANSPORT_TYPE> Desired transport type [possible values: metro, rer, tramway, bus,
noctilien]
<CODE> Code of the transport
<STATION> Station where you would like to have the next schedules
<WAY> What direction you want to go [default: ar] [possible values: a, r, ar]
OPTIONS:
-h, --help Print help information
-V, --version Print version information
All of the data reported by this tool belongs to the RATP.
usr@penguin:$ rat-rs metro 9 "Pont de Sèvres" a
1 mn direction Mairie de Montreuil
6 mn direction Mairie de Montreuil
11 mn direction Mairie de Montreuil
15 mn direction Mairie de Montreuil
usr@penguin:$ rat-rs rer a "Auber" ar
21:07 direction Poissy
21:11 direction Saint-Germain-en-Laye
21:13 direction Cergy-Le-Haut
21:18 direction Saint-Germain-en-Laye
21:23 direction Poissy
21:30 direction Saint-Germain-en-Laye
21:06 direction Boissy-Saint-Leger
21:09 direction Marne-la-Vallee Chessy
21:16 direction Boissy-Saint-Leger
21:23 direction Marne-la-Vallee Chessy
21:31 direction Boissy-Saint-Leger
21:38 direction Marne-la-Vallee Chessy