From 11a8886d1e3518f16eb522dd177f1afe8e0d8a9c Mon Sep 17 00:00:00 2001 From: Robin Arnold <1297660+RRArny@users.noreply.github.com> Date: Fri, 15 Nov 2024 21:34:29 +0100 Subject: [PATCH] Added description for source file feature to README. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 60e400d..5b19845 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ With `-a` or `--airfield` you can provide the ICAO or IATA code for a reporting With `-c` or `--config-file` you can specify a configuration file as described below. +If you provide the `-f` or `--file` flag followed by a path to a json file, WXfetch will try to load the metar from this instead of from the internet. It expects the data to be formatted as described [here](https://avwx.docs.apiary.io/#reference/0/metar/get-metar-report). + If there is any problem with the provided arguments WXfetch will print an error message and default to geoip. ## Configuration