A CLI application which provides a brief weather forecast for the given city in Sweden.
To use the Weather CLI application, simply run the following command in your terminal:
./weather [city in Sweden]Replace [city in Sweden] with the name of the city for which you want to get the weather forecast.
- Make sure you have Go installed on your system.
- Clone the repository:
git clone [email protected]:udayangaac/weather.git- Navigate to the project directory:
cd weather- Build the CLI application:
# Create bin directory
mkdir bin
# Create binary file
go build -o bin/weather cmd/weather/main.go - Run the application:
./bin/weather [city in Sweden]Example:
For example, to get the weather forecast for Stockholm:
./bin/weather StockholmThe application will then provide a brief weather summary for Stockholm.
This CLI application relies on external weather data sources and may require network access to fetch weather information.
This project is licensed under the BSD 2-Clause -see the LICENSE file for details.