Crates.io | weather-in |
lib.rs | weather-in |
version | 0.1.0 |
source | src |
created_at | 2023-11-20 10:59:43.641482 |
updated_at | 2023-11-20 10:59:43.641482 |
description | A command-line tool for retrieving and displaying current weather information based on user-specified locations, leveraging the OpenWeatherMap API. |
homepage | |
repository | |
max_upload_size | |
id | 1041976 |
size | 46,168 |
The Weather-in CLI Tool is a command-line application for retrieving and displaying current weather information based on user-specified locations. It utilizes the OpenWeatherMap API to fetch real-time weather data and provides a simple and convenient way to check the weather from the terminal.
To use the Weather CLI Tool, follow these steps:
git clone https://github.com/alceal/weather-in.git
cd weather-in
cargo build --release
weather-in <LOCATION> [--isocountry <COUNTRY_CODE>] --api-key <API_KEY>
<LOCATION>
: Specifies the location for which weather information is requested.--isocountry
: (Optional) Provides an ISO country code for more accurate weather results.--api-key
: Requires the OpenWeatherMap API key for accessing weather data.Example:
weather-in "New York" --isocountry US --api-key YOUR_API_KEY
If you find issues or have suggestions for improvements, feel free to open an issue or create a pull request. Contributions are welcome!
This project is licensed under the MIT License.