Skip to content

ilichka/weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core Module

This package provides current weather with CLI.

Environment Setup

After you installed weather CLI you should navigate to https://openweathermap.org/ and get weather api.

CLI available scripts

  "scripts": {
    "weather": "node weather.js",
  },

To get info about current weather run script:

npm run weather

To set openweathermap token run script:

npm run weather -- -t [TOKEN]

To set current city run script:

npm run weather -- -s [CITY]

To get help run script:

npm run weather -- -h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors