I don't remember where I got this info, but visit the site for more info.
As the title say, you can view a weather forecast via command-line interface with this (white spaces should be changed to _ as usual):
curl wttr.in/<your city>
I've created an stupid script to make things more.. uh.. fancy.
It's available here