wethr
wethr copied to clipboard
🌤️ Command line weather tool.
wethr
Command line weather tool.
Usage
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
Download
Stable binaries for Linux, Windows and Mac OS are available for download at the releases page.
Docker
docker run -it risoflora/wethr
Installation
cargo install wethr
Contributions
Pull Requests and Issues are welcome!
Wish list
- [x] Binaries
- [x] Tests
- [x] Silent mode
- [x] Full info
- [x] Query by city name[,state code[,country code]]
- [x] Location provider
- [ ] Proxy support
- [ ] Configure the OWM API token
- [ ] Template support (e.g.
wethr -t '{city} - Temperature: {temperature} - Humidity: {humidity}'
) - [ ] Forecast support
Thanks
This project was inspired by twobucks' wethr.
License
This project is licensed under the MIT license.