1.0.5-development • Published 3 years ago
@kotandy/weather_cli v1.0.5-development
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.
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.5-development
3 years ago
1.0.4-development
3 years ago
1.0.3-development
3 years ago
1.0.2-development
3 years ago
1.0.1-development
3 years ago
1.0.0-development
3 years ago
1.0.0
3 years ago