summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-11-14 15:20:48 +0000
committerNick White <git@njw.name>2020-11-14 15:20:48 +0000
commit3960e17c2222366fb47366f5b5d46d768e2842c0 (patch)
tree7491b73f7ea714e8392f0b4da4ce23ff4d08fddb /README
parentc40c1160b1b20239679f21cb926bcfca6c1edb59 (diff)
downloadweather-3960e17c2222366fb47366f5b5d46d768e2842c0.tar.bz2
weather-3960e17c2222366fb47366f5b5d46d768e2842c0.zip
Add module support, license, readme
Diffstat (limited to 'README')
-rw-r--r--README31
1 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..19cc490
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+# njw.name/weather package
+
+This package is a command that prints the weather forecast for a
+location, using either the Met Office or BBC as a source.
+
+This is a Go package, and can be installed in the standard go way,
+by running `git clone https://git.njw.name/bbcschedule` and
+`go install .` from the bbcschedule directory.
+
+Note that the location must be set manually from the Go code, see
+`metdefid` and `bbcdefid`. Relatedly, note that this was the first
+Go program I wrote. Look elsewhere for examples of best practise.
+
+## Usage
+
+ Usage: weather [-b] [-n int] [-v]
+
+ -b use bbc as data source (default true)
+ -n int
+ number of days to show (default 2)
+ -v verbose: show all weather details
+
+## Contributions
+
+Any and all comments, bug reports, patches or pull requests would
+be very welcomely received. Please email them to <git@njw.name>.
+
+## License
+
+This package is licensed under the GPLv3. See the LICENSE file for
+more details.