weather-magic

command module
v0.0.0-...-8caaddb Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 9 Imported by: 0

README

weather-magic

Want to check the weather? Do it straight from the comfort of your terminal with this handy CLI tool.

Gives the current weather for you chosen city using the Open Weather API: https://openweathermap.org/current

Installation

N/A- For future versions.

Prerequisites

  • An account for Open Weather API.
  • .env file for api key

Usage

go build
./weather-magic --city=[cityname] --info=[info]

e.g.: ./weather-magic --city=london --info=temperature

Returns the current weather for your chosen location, e.g:

The weather in London is:
Overview: Clouds
Description: overcast clouds

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