|lotus 685037d749 no longer auto create a symbolic link for simple-weather, use an alias instead, or make your own link.||2 months ago|
|.gitignore||10 months ago|
|LICENSE.md||9 months ago|
|README.md||2 months ago|
|makefile||2 months ago|
|simple-weather.1||1 year ago|
|simple-weather.rb||8 months ago|
You need to have a Ruby interpreter and the 'make' tool installed.
# as root make install # to uninstall make uninstall
The reasoning behind this tool is that it provides a way to get the bare minimum of information you need. All the CLI weather tools I've used, while nice, have not been very 'script-friendly'. This tool gives you only the bare minimum of what you ask for. Each item is separated by a new line. I've intentionally left out some items present in the OpenWeatherMap reponse simply because most of the time I never look at them.
Note: You will need to sign up for a free OpenWeatherMap API key in order to use this tool
simple-weather -t -l seattle -k myapikeyhere # get the temperature in seattle" simple-weather -c -l seattle -k myapikeyhere # get the 'condition' i.e. sunny, cloudy, etc." simple-weather -w -l seattle -k myapikeyhere # get the windspeed" simple-weather -tcw -u m -l seattle -k myapikeyhere # get all three, and use metric units" simple-weather -h # show this help message" simple-weather -v # show version" # note the order of arguments does not matter
This project is licensed under the 3-clause BSD license. (See LICENSE.md) I take no responsibility for you blowing stuff up. Artwork courtesy of AcidBeast (CC 3.0 BY)