Compare current weather conditions across multiple airports side-by-side. Useful for travel planning or choosing between destinations.
Compare weather at multiple airports: $ARGUMENTS
IMPORTANT: Do NOT show raw JSON or curl commands in your response. Only show the final formatted markdown output.
Split arguments to get airport codes. Last argument may be units (metric/imperial).
For each airport, make API calls silently:
metar=$(curl -s -H "x-api-token: ${API_TOKEN}" "http://localhost:3000/api/metar?id={AIRPORT}")
weather=$(curl -s -H "x-api-token: ${API_TOKEN}" "http://localhost:3000/api/weather?lat={lat}&lon={lon}&units={units}")
Create a markdown table:
| Airport | Temperature | Conditions | Flight Category | Wind | Visibility |
|---|
For each airport, show:
Use clean markdown tables with emoji. No JSON visible. Make it easy to scan and compare.