8 releases (5 breaking)

0.6.0 Sep 21, 2021
0.5.0 Sep 20, 2021
0.4.0 Sep 16, 2021
0.3.0 Sep 15, 2021
0.1.0 Sep 12, 2021

#3 in #fahrenheit

MIT license

56KB
1.5K SLoC

wethr

CI/CD Crates.io MIT license

Command line weather tool.

Wethr 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!

Whish list

  • Binaries
  • Tests
  • Silent mode
  • Full info
  • Query by city name[,state code[,country code]]
  • Location provider
  • Proxy support

Thanks

This project was inspired by twobucks's wethr.

License

This project is licensed under the MIT license.

Dependencies

~10–27MB
~349K SLoC