~kota/metweather

Display weather information from Metservice.
update forecast_test with new output
increment version
add daily forcast printing

clone

read-only
https://git.sr.ht/~kota/metweather
read/write
git@git.sr.ht:~kota/metweather

You can also use your local clone with git send-email.

#metweather builds.sr.ht status

Display weather information from Metservice. Uses the metservice-go library.

#Usage

metweather [command] [flags]

GLOBAL flags
      --config string     config file (default is $XDG_CONFIG_HOME/.metweather.yaml)
  -h, --help              help for metweather
  -v, --version           version for metweather
  -l, --location string   location used for the weather observation/forecast

COMMANDS
  observation: display current or past weather observations
  forecast: display weather predictions for the current day or next serveral days

#Config Example

location: Dunedin

alternatively you can set an environment variable METWEATHER_LOCATION="Dunedin"

#Installation

Install the dependencies:

  • go (>=1.13)
  • scdoc

Edit config.mk to your desired install path.

Then compile and install:

# sudo make install

#Resources

Discussion and patches can be found here.