metweather

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

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.

Documentation

Overview

Display weather information from Metservice.

Copyright © 2021 Dakota Walsh <kota@nilsu.org>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL