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
-
Notifications
You must be signed in to change notification settings - Fork 0
Hamed-Fouladi/weather-cli
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published