1.0.6 • Published 8 years ago
cli-weatherman v1.0.6
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-weathermanCommand 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 codeExamples:
$ weatherman
$ weatherman -C
$ weatherman -z 90210