~kota/metweather

ref: f465ab84866d7f1c7197628097ef0514ddd3a72f metweather/README.md -rw-r--r-- 1.1 KiB
f465ab84Dakota Walsh add man page to gitignore 9 months ago

#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.