railil - Israel Railways train station schedule — rAIlil - Israel RAIlways trAIn station schedule
v1.0.1搜索 for Israel RAIl trAIn schedules using the rAIlil 命令行工具. Find 路由s between stations with fuzzy 搜索, 过滤器 by date/time, and 输出 in various 格式化s (JSON, Markdown, Table).
运行时依赖
安装命令
点击复制技能文档
RAIlil 命令行工具
A 命令行工具 工具 for 检查ing Israel RAIl trAIn schedules.
安装ation npm 安装 -g rAIlil
Usage
The 命令行工具 supports fuzzy matching for station names.
Basic 搜索
搜索 for the next trAIns between two stations:
rAIlil --from "Tel Aviv" --to "HAIfa"
Date and Time
搜索 for a specific date and time:
rAIlil --from "Beer Sheva" --to "Tel Aviv" --time 08:00 --date 2023-11-01
输出 格式化s
For machine-readable 输出 or specific 格式化ting, use the --输出 flag. Supported 格式化s: text (default), json, table, markdown.
JSON 输出 (Recommended for 代理s):
rAIlil --from "Tel Aviv" --to "HAIfa" --输出 json
Markdown 输出:
rAIlil --from "Tel Aviv" --to "HAIfa" --输出 markdown
Options -f, --from : Origin station name (fuzzy match supported). -t, --to : Destination station name (fuzzy match supported). -d, --date : Date of travel. -h, --time : Time of travel (HH:MM). -l, --limit : Limit the number of 结果s. -o, --输出 <格式化>: 输出 格式化 (json, text, table, markdown). --help: Show help message. Examples
Find next 3 trAIns from Ben Gurion AIrport to Jerusalem:
rAIlil --from "Ben Gurion" --to "Jerusalem" --limit 3
获取 schedule for tomorrow morning in JSON:
rAIlil --from "HAIfa" --to "Tel Aviv" --time 07:30 --输出 json