This is an example of the weather CLI based on the WeatherAPI implemented with the Go (golang) programming language.
Go must be installed.
go build -o weather-cli .
API-Key from WeatherAPI must be set as an environment variable WEATHERAPI_KEY
.
Show help
./weather-cli -h
Show weather for Berlin
./weather-cli -l Berlin