cptmetro
v1.1.8
Published
A CLI to show rails system status for São Paulo
Readme
CPTM & Metro Status
A Wrapper & CLI to show rails system status for São Paulo.

Installing
$ npm install -g cptmetroWrapper Usage
cptmetro.metro().then(data => {
// Will return data for METRO
return data;
});
cptmetro.cptm().then(data => {
// Will return data for CPTM
return data;
});
CLI usage
Lines: Status:
Linha 1 - Azul (1) Operação Normal
Linha 2 - Verde (2) Operação Encerrada
Linha 3 - Vermelha (3) Operação Parcial
Linha 4 - Amarela (4) Velocidade Reduzida
Linha 5 - Lilás (5) Paralisada
Linha 15 - Prata (6) Dados Indisponíveis
Options:
-V, --version output the version number
-l, --line Show status for specific line. (ex: 1,2)
-s, --status Show only lines with that status. (ex: 3)
-h, --help output usage informationLicense
This project is licensed under the MIT License - see the LICENSE.md file for details
