gotrain
MTA 系统火车出发(纽约地铁、LIRR、Metro-North)。当用户想要了解 MTA 交通的列车时间、时刻表或服务提醒时使用。覆盖整个纽约地区的 MTA 地铁、LIRR 和 Metro-North。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~gumadeiras-gotraincURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~gumadeiras-gotrain/file -o gumadeiras-gotrain.md# gotrain Atomic CLI for NYC transit departures (MTA Subway, LIRR, Metro-North). ## Installation ```bash npm install -g gotrain-cli ``` ## Commands | Command | Description | |---------|-------------| | `gotrain stations [query]` | List/search stations | | `gotrain departures <station-id>` | Show departures for a station | | `gotrain alerts` | Active service alerts | | `gotrain fav <id>` | Toggle favorite station | | `gotrain favs` | List favorite stations | ## Common Station IDs - `MNR-149` - New Haven - `MNR-151` - New Haven-State St - `MNR-1` - Grand Central - `MNR-203` - Penn Station (MNR) - `LIRR-349` - Grand Central - `SUBWAY-631` - Grand Central-42 St ## Examples ```bash # Search for Penn Station gotrain stations penn # New Haven to Grand Central departures gotrain departures MNR-149 # Check service alerts gotrain alerts # Add favorite station gotrain fav MNR-149 ``` ## Source https://github.com/gumadeiras/gotrain-cli --- ## 中文说明 # gotrain 用于查询纽约市公共交通出发信息(MTA 地铁、LIRR、Metro-North)的原子化 CLI。 ## 安装 ```bash npm install -g gotrain-cli ``` ## 命令 | 命令 | 说明 | |---------|-------------| | `gotrain stations [query]` | 列出/搜索车站 | | `gotrain departures <station-id>` | 显示某车站的出发信息 | | `gotrain alerts` | 当前生效的服务提醒 | | `gotrain fav <id>` | 切换收藏车站 | | `gotrain favs` | 列出收藏车站 | ## 常用车站 ID - `MNR-149` - New Haven - `MNR-151` - New Haven-State St - `MNR-1` - Grand Central - `MNR-203` - Penn Station (MNR) - `LIRR-349` - Grand Central - `SUBWAY-631` - Grand Central-42 St ## 示例 ```bash # Search for Penn Station gotrain stations penn # New Haven to Grand Central departures gotrain departures MNR-149 # Check service alerts gotrain alerts # Add favorite station gotrain fav MNR-149 ``` ## 来源 https://github.com/gumadeiras/gotrain-cli