Command line weather report using http://wttr.in
Provides a way to fetch weather report and parse into multiple reports, see below.
git clone https://github.com/StephenFox1995/wttrcli
mvn package
Alternatively, use the provided install script to run the package command and copy the jar to /usr/local/bin:
./install.sh
java -jar target/wttrcli-1.0.jar <options>
Alternatively, if you ran the install.sh above, the following command will be available:
wttrcli <options>
--Usage--
[l, location] : The location to fetch the weather report.
[o, option] : An option for parsing the report, can be any of the following:
all, tomorrow, live, aftertomorrow
wttrcli -l Dublin -o all
wttrcli -l Dublin -o live -o tomorrow
wttrcli -l Madrid -o aftertomorrow