Command line weather tool.
Usage: wethr [options] [city name[,state code][,country code]]
Options:
-m, --metric Weather in metric units (compatibility)
-i, --imperial Weather in imperial units (compatibility)
-u, --unit [C]elsius or [F]ahrenheit
Unit of measurement
-c, --connect-timeout 5
Connect timeout (in seconds)
-t, --timeout 30 Timeout (in seconds)
-p, --location-provider 0 to 3
Location provider
-f, --full-info Full weather information
-s, --silent Silent mode
-v, --version Print program version
-h, --help Print this help menu
Stable binaries for Linux, Windows and Mac OS are available for download at the releases page.
docker run -it risoflora/wethr
cargo install wethr
Pull Requests and Issues are welcome!
- Binaries
- Tests
- Silent mode
- Full info
- Query by city name[,state code[,country code]]
- Location provider
- Proxy support
- Configure the OWM API token
- Template support (e.g.
wethr -t '{city} - Temperature: {temperature} - Humidity: {humidity}'
) - Forecast support
This project was inspired by twobucks' wethr.
This project is licensed under the MIT license.