helper-scripts/getweather.sh

5 lines
109 B
Bash
Raw Normal View History

2018-08-27 13:30:54 -07:00
#!/usr/bin/env bash
# Obtain a weather forecast
echo "${@}" | xargs --no-run-if-empty -I {} curl wttr.in/{}