weather-cli

command module
v0.0.0-...-f9dd335 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 6 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL