Skip to content

riyadhalnur/weather-cli

Repository files navigation

weather-cli

Check the weather for your city from your terminal

Coverage Status Build Status Build status Known Vulnerabilities

Install

$ npm install -g weather-cli
$ weather --help

  Usage
    $ weather <input>

  Options
    --city, -c City you want to lookup weather for (add state code after city name if city exists in multiple places)
    --country, -C Country you want to lookup weather for
    --scale, -s Weather scale. Defaults to Celcius
    --help Show this help message
    --version Display version info and exit
    config Set the default location and scale

  Examples
    $ weather -c Dhaka -C Bangladesh
    Dhaka, Bangladesh
    Condition: Partly Cloudy
    Temperature: 32°C

    $ weather config -c Dhaka -C Bangladesh -s F
    Default location set to Dhaka, Bangladesh and scale to F

License

Licensed under MIT. See LICENSE for more information.

Issues

Report a bug in issues.

Made with love in Dhaka, Bangladesh by Riyadh Al Nur

About

Check the weather for your city from your terminal

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •