A simple command-line application that fetches the current weather information for a specified location. This tool retrieves weather data from wttr.in and displays it in a user-friendly format using colored output.
- Displays current temperature, humidity, "feels like" temperature, UV index, and weather description for any location.
- Fetches real-time data from
wttr.in. - Simple, lightweight, and easy to use.
-
Clone the Repository:
git clone https://github.com/yourusername/weather-cli.git cd weather-cli -
Build the Application: Make sure you have Go installed.
go build -o weather-cli
-
Install the Binary: Move the binary to a directory in your
PATH, for example$HOME/.local/bin:mv weather-cli ~/.local/bin/Ensure that
~/.local/binis in yourPATH:export PATH="$HOME/.local/bin:$PATH"
After installing, simply run the weather-cli followed by a location (city name) to get the current weather.
weather-cli Budapest
