wez

command module
v0.0.0-...-6e0b602 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

wez - weather cli app

Using https://www.weatherapi.com API to get weather information. You need to get your own API key to use this app.

image

Installation

  1. Create an account at https://www.weatherapi.com and get your API key
  2. Download the binary and make it executable
  3. Move binary to /usr/local/bin or any other directory in your $PATH
  4. Use the app

Usage

-l --location <location>  Location to get weather information
--apikey <apiKey>         API key from https://www.weatherapi.com
-f --forecast 3            Show forecast for n days

wez --apikey=<apiKey> -l "London"
wez --apikey=<apiKey> -location "London"

alias wezz=wez --apikey=<apiKey> -l "London"

Build

go build -o wez

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳