Skyscan is a command-line tool written in Go that fetches and displays weather information for a specified city.
-
Clone the Repository
git clone https://github.com/Abhinaenae/SkyScan
-
Build the Executable
Navigate to the directory containing the source code and build the executable using the following command:
go build -o skyscan
-
Run the Tool
Once the executable is built, you can run the tool by executing the following command:
./skyscan <city-name>
Replace
<city-name>
with the name of the city for which you want to retrieve weather information. If no city name is provided, it defaults to "Dallas". The default can changed by editingq
on line 40 to be any city.
This tool depends on the following external packages:
- github.com/fatih/color - For terminal color output.
- Go
This tool utilizes the WeatherAPI to fetch weather data. You will need to make your own API key.
This project is licensed under the MIT License - see the LICENSE file for details.