1.0.5-development • Published 3 years ago

@kotandy/weather_cli v1.0.5-development

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Weather CLI

It's an education project about Node.js from a course "Node.js".

This CLI for terminal shows a small information about the weather in a city, which you enter.

Screenshot of terminal with output Weather CLI

How to use

You can install on your computer:

npm i -g @kotandy/weather_cli

weather -t [API_KEY] # https://openweathermap.org/faq. Use only once.
weather -s [CITY] # set city and get the weather. You can use it only once or for changing city

Or executed with npx:

# npx
npx @kotandy/weather_cli -t [API_KEY]
npx @kotandy/weather_cli -s [CITY]

# or use npm exec
npm exec @kotandy/weather_cli -- -t [API_KEY]
npm exec @kotandy/weather_cli -- -s [CITY]
1.0.0

3 years ago