Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

udayangaac/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather

A CLI application which provides a brief weather forecast for the given city in Sweden.

Usage

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.

Installation

  1. Make sure you have Go installed on your system.
  2. Clone the repository:
git clone [email protected]:udayangaac/weather.git
  1. Navigate to the project directory:
cd weather
  1. Build the CLI application:
# Create bin directory
mkdir bin

# Create binary file
go build  -o bin/weather cmd/weather/main.go 
  1. Run the application:
./bin/weather [city in Sweden]

Example:
For example, to get the weather forecast for Stockholm:

./bin/weather Stockholm

The application will then provide a brief weather summary for Stockholm.

Dependencies

This CLI application relies on external weather data sources and may require network access to fetch weather information.

License

This project is licensed under the BSD 2-Clause -see the LICENSE file for details.

About

A console application which provides a brief weather forecast of the given city.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages