What's the weather like?
This isn't a great tool, it's a solution to one of the practice problems in Programming Elixir.
You probably don't want to use this -- there aren't really tests and the error messages are pretty useless.
You'll need elixir installed.
You can do this with whatever your system package manager is. For instance on
macOS you can brew install elixir
if you have brew
installed.
You can build this with mix
.
Documentation can maybe be generated with ExDoc, not that I've tried.
weather
needs to be told what city you're in. Find your city
on weather.gc.ca and copy the weather feed URL.
Run weather with the --init
flag and the URL to have it set a .weather
file in your home directory that it'll use to remember for next time.
$ weather --init <url>
Just run weather
to get the current conditions.
This project is available as open source under the terms of the MIT License.