Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 544 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 544 Bytes

Weather CLI Example

This is an example of the weather CLI based on the WeatherAPI implemented with the Go (golang) programming language.

Requirements for development

Go must be installed.

Compile

go build -o weather-cli .

Requirements for usage

API-Key from WeatherAPI must be set as an environment variable WEATHERAPI_KEY.

Usage

Show help

./weather-cli -h

Show weather for Berlin

./weather-cli -l Berlin