1.0.6 • Published 7 years ago

cli-weatherman v1.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

CLI Weather and Forecast

This is a node.js command line tool that will print weather and 5-day forecast information for the user's current (or specified) location.

If the user does not provide a ZIP code as a command-line argument, then the script uses freegeoip to determine the user's location based on their IP address. Location information is then passed to Yahoo's weather YQL API to determine current and future weather.

Installation

This tool is available on npm. Use the -g flag to install it globally:

$ npm install -g cli-weatherman

Command Line Interface

Usage:

$ weatherman [options]

Options:

-h, --help       output usage information
-V, --version    output the version number
-C, --celsius    Show temperatures in celsius
-z, --zip <zip>  Return weather for a specific zip code

Examples:

$ weatherman
$ weatherman -C
$ weatherman -z 90210
1.0.6

7 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago