A CLI which provides a current forecast for the chosen city based on the openweathermap API. You need to provide a token and a city to start.
weather -s [CITY]
Parameter | Type | Description |
---|---|---|
-s |
string |
Required Sets your city to the settings json. |
weather -t [API_KEY]
Parameter | Type | Description |
---|---|---|
-t |
string |
Required. Your API token from https://openweathermap.org/ |
weather-h
Parameter | Type | Description |
---|---|---|
-h |
string |
Shows a commands list |
You can find this package on Github by this link
To install this package run
npm i forecast-cli-magistrumdev