Search for Israel Rail train schedules using the railil CLI. Find routes between stations with fuzzy search, filter by date/time, and output in various formats (JSON, Markdown, Table).
100
100%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
A CLI tool for checking Israel Rail train schedules.
npm install -g raililThe CLI supports fuzzy matching for station names.
Search for the next trains between two stations:
railil --from "Tel Aviv" --to "Haifa"Search for a specific date and time:
railil --from "Beer Sheva" --to "Tel Aviv" --time 08:00 --date 2023-11-01For machine-readable output or specific formatting, use the --output flag.
Supported formats: text (default), json, table, markdown.
JSON Output (Recommended for agents):
railil --from "Tel Aviv" --to "Haifa" --output jsonMarkdown Output:
railil --from "Tel Aviv" --to "Haifa" --output markdown-f, --from <station>: Origin station name (fuzzy match supported).-t, --to <station>: Destination station name (fuzzy match supported).-d, --date <date>: Date of travel.-h, --time <time>: Time of travel (HH:MM).-l, --limit <number>: Limit the number of results.-o, --output <format>: Output format (json, text, table, markdown).--help: Show help message.Find next 3 trains from Ben Gurion Airport to Jerusalem:
railil --from "Ben Gurion" --to "Jerusalem" --limit 3Get schedule for tomorrow morning in JSON:
railil --from "Haifa" --to "Tel Aviv" --time 07:30 --output json