forecast-cli-magistrumdev
v1.1.1
Published
CLI for getting weather
Downloads
3
Readme
Hi, I'm MagistrUMDev! 👋
Weather Forecast CLI
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.
Commands reference
Set a city
-s [CITY]
| Parameter | Type | Description |
| :-------- | :------- | :------------------------------------------------ |
| -s
| string
| Required Sets your city to the settings json. |
Set an API token
-t [API_KEY]
| Parameter | Type | Description |
| :-------- | :------- | :------------------------------------------------------------ |
| -t
| string
| Required. Your API token from https://openweathermap.org/ |
-h
| Parameter | Type | Description |
| :-------- | :------- | :-------------------- |
| -h
| string
| Shows a commands list |
NPM PACKAGE
You can find this package on NPM by this link
Installation
To install this package run
npm i forecast-cli-magistrumdev