weather

command-line tool to obtain weather conditions and forecasts

Install

All systems
curl cmd.cat/weather.sh
Debian Debian
apt-get install weather-util
Ubuntu
apt-get install weather-util
Arch Arch Linux
pacman -S weather-util
image/svg+xml Kali Linux
apt-get install weather-util
CentOS
yum install weather-util
Fedora
dnf install weather-util
Windows (WSL2)
sudo apt-get update sudo apt-get install weather-util
OS X
brew install weather-util
Raspbian
apt-get install weather-util

weather-util

command-line tool to obtain weather conditions and forecasts

This utility is intended to provide quick access to current weather conditions and forecasts. Presently, it is capable of providing data for localities throughout the United States of America and some select locations globally by retrieving and processing METAR data from the National Oceanic and Atmospheric Administration and forecasts from the National Weather Service. The weather-util-data package is recommended to enable searches for nearby sources of weather data--otherwise you have to look up and build configuration for all the data source URIs yourself.

expect

Automates interactive applications

Expect is a tool for automating interactive applications according to a script. Following the script, Expect knows what can be expected from a program and what the correct response should be. Expect is also useful for testing these same applications. And by adding Tk, you can also wrap interactive applications in X11 GUIs. An interpreted language provides branching and high-level control structures to direct the dialogue. In addition, the user can take control and interact directly when desired, afterward returning control to the script. This package contains the expect binary and several Expect based scripts.

bash-snippets

darksky-weather