ansiweather

Weather in terminal, with ANSI colors and Unicode symbols
Log | Files | Refs | README | LICENSE

commit f9ae0ad7351217531c6bfa42ee1c51fa4ed5b3f0
parent e974f6911e2f9fe5e099895c50dcd4479c78534f
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 29 Jun 2018 12:26:05 +0200

Document the UV index feature and related flags and options

Diffstat:
MREADME.md | 11+++++++----
Mansiweather.1 | 7+++++++
Mansiweatherrc.example | 1+
3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -55,8 +55,8 @@ AnsiWeather packages are available for: ### Synopsis ansiweather [-F] [-l location] [-u system] [-f days] [-a value] - [-s value] [-k key] [-w value] [-h value] [-p value] - [-d value] + [-s value] [-k key] [-i value] [-w value] [-h value] + [-p value] [-d value] [-v value] ### Options @@ -79,6 +79,9 @@ AnsiWeather packages are available for: -k key Specify API key + -i value + Toggle UV Index display ( true or false ) + -w value Toggle wind data display ( true or false ) @@ -194,9 +197,10 @@ Default: `0` ### Display wind / humidity / pressure -Toggle wind, humidity, and/or pressure display. Values can be either +Toggle UV Index, wind, humidity, and/or pressure display. Values can be either `true` or `false`. + show_uvi:true show_wind:true show_humidity:true show_pressure:true @@ -259,4 +263,3 @@ GitHub: https://github.com/fcambus/ansiweather [4]: https://www.statdns.com/cctlds/ [5]: http://openweathermap.org/help/city_list.txt [6]: https://home.openweathermap.org/users/sign_up - diff --git a/ansiweather.1 b/ansiweather.1 @@ -39,6 +39,7 @@ .Op Fl a Ar value .Op Fl s Ar value .Op Fl k Ar key +.Op Fl i Ar value .Op Fl w Ar value .Op Fl h Ar value .Op Fl p Ar value @@ -80,6 +81,12 @@ or ) .It Fl k Ar key Specify OpenWeatherMap API key +.It Fl i Ar value +Toggle UV Index display ( +.Ar true +or +.Ar false +) .It Fl w Ar value Toggle wind data display ( .Ar true diff --git a/ansiweatherrc.example b/ansiweatherrc.example @@ -7,6 +7,7 @@ units:metric forecast:0 ansi:true symbols:false +show_uvi:true show_wind:true show_humidity:true show_pressure:true