A toy for speedrunning rust. Don't be serious xD.
APIs from: 北京地铁官网
- Update data.
- Print the name of all lines.
- Print details of a given line.
- Find a path from two given destinations.
Usage: bjsubway.exe [OPTIONS] [COMMAND]
Commands:
update
lines
detail
find
help Print this message or the help of the given subcommand(s)
Options:
-l, --lcode <LCODE> [default: ]
-f, --from <FROM> [default: ]
-t, --to <TO> [default: ]
-h, --help Print help
See examples.txt
/subwaymap/beijing.xml
/subwaymap/interchange.xml
/subwaymap/stations.xml