summaryrefslogtreecommitdiff
path: root/README
blob: 19cc490ceec097303e550ab838b96d93ab1eca24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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.