3 ms·
There are quite a few options, it is pretty cool. You can check them out by hitting the :help endpoint[1]. I usually call it with a few of them to make the out
by jamesponddotco 6y ago
There are quite a few options, it is pretty cool. You can check them out by hitting the :help endpoint[1].
I usually call it with a few of them to make the output cleaner, and without colors[2].
curl --compressed https://wttr.in/"$location"?QTAF https://wttr.in/"$location"?QTAF
Where `$location` is either the location you want the weather for, or an IP address.
[1] https://wttr.in/:help https://wttr.in/:help
[2] https://git.sr.ht/~jamesponddotco/dotfiles/tree/master/.local/bin/weather https://git.sr.ht/~jamesponddotco/dotfiles/tree/master/.loca...