weather-cli is a simple and easy to use CLI app to quickly and conviniently check the weather using OpenWeatherMap
Just run:
go install github.com/atmatm9182/weather-cli
weather-cli -helpOr if you want to build from source:
git clone https://github.com/atmatm9182/weather-cli
cd weather-cli
go build
./weather-cli -helpThe configuration is done via a configuration file written in json and has the following parameters:
ApiKey: string- your api key that you can get from OpenWeatherMap website after registering
Linux: $XDG_CONFIG_HOME/weather-cli/config.json (or $HOME/.config/config.json if $XDG_CONFIG_HOME is not set)
Windows: %APPDATA%\Weather CLI\config.json