Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 561 Bytes

readme.md

File metadata and controls

22 lines (21 loc) · 561 Bytes

CLI - Weather forecast

Install:

npm i weather-cli-itomych

Help:

weather -h

Set city:

weather -s [city]

weather -s kharkiv

Set token:

You need to get API key from https://openweathermap.org/

weather -t [API_KEY]

weather -t api_key

If you have given a city and an API key, you can run the weather command and get the weather results in the console. After that, you can simply change the city with the same command and get new results.

weather