Skip to content

OlehKniaziev/weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-cli is a simple and easy to use CLI app to quickly and conviniently check the weather using OpenWeatherMap

Quick start

Just run:

go install github.com/atmatm9182/weather-cli
weather-cli -help

Or if you want to build from source:

git clone https://github.com/atmatm9182/weather-cli
cd weather-cli
go build 
./weather-cli -help

Configuration

The configuration is done via a configuration file written in json and has the following parameters:

  • ApiKey: string - your api key that you can get from OpenWeatherMap website after registering

Path to config

Linux: $XDG_CONFIG_HOME/weather-cli/config.json (or $HOME/.config/config.json if $XDG_CONFIG_HOME is not set)
Windows: %APPDATA%\Weather CLI\config.json

About

A command line program that allows for easy access to weather forecasts using OpenWeatherMap API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages