~kota/metweather

metweather/README.md -rw-r--r-- 1.1 KiB
3597e471Dakota Walsh update forecast_test with new output 3 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.