helper-scripts/getweather.sh
2018-08-27 13:30:54 -07:00

5 lines
109 B
Bash
Executable File

#!/usr/bin/env bash
# Obtain a weather forecast
echo "${@}" | xargs --no-run-if-empty -I {} curl wttr.in/{}