Skip to content

justjohn/console-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

console-weather

A console client for getting the current weather forecast.

In order to use console-weather, you need to get a Weather Underground API key from http://api.wunderground.com/weather/api/ and set your WEATHER_API environment variable to it.

Installation

npm install -g console-weather

Usage

weather [OPTION]...
Print the current weather conditions and forecast.

Options:
    -c       Output temperature in celsius.
    -f       Print 4-day forecast.
    --color  Colorize the output.

Output

--------------------------------------------------------------------------------

                    Central Square, Cambridge, Massachusetts

                       Scattered Clouds :: 60.9 F (16.1 C)

                   Thu          Fri          Sat          Sun
                 65 / 50      66 / 64      68 / 48      61 / 48

--------------------------------------------------------------------------------
Last Updated on October 18, 5:00 PM EDT                      Weather Underground

License

console-weather is available under a BSD 2-clause license. See LICENSE for details.

About

A console client for getting the current weather forecast.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published