#GoWeather
Version 3.1
Note: you will need an API key, you may register here: https://developer.forecast.io/register. Copy goweather.properties.sample to HOMEDIR/.goweather/goweather.properties and fill in your API key
Build it:
./build.sh
Simple usage
./goweather
Note: you can copy the built goweather bin to /usr/local/bin/goweather and use it from any location
Options
- -forecast=false: Show 8 day forecast
Examples:
$ ./goweather
GoWeather 3.1 - @kenhkelly
Current Weather: 22 Dec 15 15:58 EST
Summary Mostly Cloudy
Temperature 80.989998
Humidity 0.720000
WindSpeed 11.910000
WindBearing 132.000000
Version | Change |
---|---|
v3.1 | Add blank line after the output to help with spacing |
v3.0 | Rewrite of the app to use forecast.io as the API source, because the last API no longer functioned |
v2.2 | Add ability to use wind with a flag Reorder the flags in the code and add descriptions to the flags Remove the unnecessary help flag |
v2.1 | Various bug fixes. |
v2.0 | Added the days and help flag. |
v1.2 | Added auto-detection of location when location is not provided |
v1.1 | Refactor put in place |
v1.0 | Initial version, provided the weather |