Tim Hårek Andreassen
|
a8689a100b
|
fix: Use multi-line
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 23:18:41 +02:00 |
|
Tim Hårek Andreassen
|
019ec38fc1
|
feat: Add initial caching
References: https://todo.sr.ht/~timharek/yr/1
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 21:53:00 +02:00 |
|
Tim Hårek Andreassen
|
845038120e
|
refactor: Move met and nominatim to ./pkg
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 21:05:21 +02:00 |
|
Tim Hårek Andreassen
|
366a97d55f
|
docs: Use codeblock
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 21:02:18 +02:00 |
|
Tim Hårek Andreassen
|
992a167c12
|
feat: Add now --oneline
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 21:00:06 +02:00 |
|
Tim Hårek Andreassen
|
13d9c41af3
|
refactor: Move output json to helper func
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 20:51:20 +02:00 |
|
Tim Hårek Andreassen
|
e06a647fd4
|
refactor: Move browser opening to function
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 20:44:57 +02:00 |
|
Tim Hårek Andreassen
|
7f72ae918b
|
refactor: Move duplicate code to helper
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 20:39:05 +02:00 |
|
Tim Hårek Andreassen
|
2de7524dea
|
fix: Remove bad alias from today
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 11:35:50 +02:00 |
|
Tim Hårek Andreassen
|
c5cb76a731
|
chore: Better times
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 22:48:50 +02:00 |
|
Tim Hårek Andreassen
|
f1aa9cbf16
|
feat: Add today command
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 22:45:55 +02:00 |
|
Tim Hårek Andreassen
|
69171f4e59
|
feat: Add tomorrow command
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 22:45:31 +02:00 |
|
Tim Hårek Andreassen
|
5972d8a206
|
chore: Use built-in "stopper"
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 20:21:24 +02:00 |
|
Tim Hårek Andreassen
|
eb09d76ad0
|
docs: Add binary installation instructions
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 20:19:57 +02:00 |
|
Tim Hårek Andreassen
|
eb8e643804
|
build: Simplify
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 20:13:01 +02:00 |
|
Tim Hårek Andreassen
|
e7ef620e80
|
ci: Add oauth
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 20:01:32 +02:00 |
|
Tim Hårek Andreassen
|
7007d1a89f
|
ci: Check for correct tag
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 19:59:28 +02:00 |
|
Tim Hårek Andreassen
|
18681cffee
|
docs: Typos
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 19:53:09 +02:00 |
|
Tim Hårek Andreassen
|
112ba8795d
|
docs: Add CLI install instructions
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 19:44:42 +02:00 |
|
Tim Hårek Andreassen
|
7d256f0ca6
|
docs: Add package usage
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 19:40:34 +02:00 |
|
Tim Hårek Andreassen
|
6b22e870a1
|
build: Add building
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 19:32:53 +02:00 |
|
Tim Hårek Andreassen
|
a0ff16465d
|
refactor: Rename module
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 18:53:14 +02:00 |
|
Tim Hårek Andreassen
|
eda33958a8
|
docs: Add contributing
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 16:27:37 +02:00 |
|
Tim Hårek Andreassen
|
5fb146f602
|
docs: Add usage
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 16:13:14 +02:00 |
|
Tim Hårek Andreassen
|
10e1c770af
|
feat: Add flag for opening result in web-browser
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-03 16:05:18 +02:00 |
|
Tim Hårek Andreassen
|
a638c0b678
|
chore: Add newline
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 21:15:49 +02:00 |
|
Tim Hårek Andreassen
|
56cd590025
|
feat: Add flag for UTC time defaults to local time
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 21:01:39 +02:00 |
|
Tim Hårek Andreassen
|
6cb3994ae9
|
feat: Add interval to forecast cmd
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 20:40:49 +02:00 |
|
Tim Hårek Andreassen
|
65dd6ad1f5
|
feat: Add new cmd for forecasts
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 20:29:13 +02:00 |
|
Tim Hårek Andreassen
|
b350835718
|
refactor: Add Forecast method to yr
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 19:51:44 +02:00 |
|
Tim Hårek Andreassen
|
798faa786b
|
chore: Add units
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 19:22:44 +02:00 |
|
Tim Hårek Andreassen
|
baedbeb469
|
docs: Add comments
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 19:21:17 +02:00 |
|
Tim Hårek Andreassen
|
0faf0f2cf5
|
chore: Add more tests for direction
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 19:19:36 +02:00 |
|
Tim Hårek Andreassen
|
dabd75acd9
|
chore: Update justfile
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 19:07:15 +02:00 |
|
Tim Hårek Andreassen
|
ff9f40e2f8
|
feat: Add windspeed and wind-direction
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 19:04:01 +02:00 |
|
Tim Hårek Andreassen
|
36309212a7
|
feat: Introduce cmd flags package
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-02 15:47:49 +02:00 |
|
Tim Hårek Andreassen
|
d84f17e7ab
|
fix: Allow spaces in query
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-29 21:49:23 +02:00 |
|
Tim Hårek Andreassen
|
d7d8ce6cd9
|
feat: Add coordinates to CLI
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-29 21:46:34 +02:00 |
|
Tim Hårek Andreassen
|
91ab81759f
|
feat: Add reverse nominatim
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-29 21:20:46 +02:00 |
|
Tim Hårek Andreassen
|
1e6eaa4b4d
|
chore: Better "use"
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-29 20:31:42 +02:00 |
|
Tim Hårek Andreassen
|
d59a69212e
|
chore: Add location
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-29 19:50:45 +02:00 |
|
Tim Hårek Andreassen
|
04d97c2d00
|
chore: Add license
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-29 19:21:46 +02:00 |
|
Tim Hårek Andreassen
|
d5eba1904e
|
feat: Add Cobra cli
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-29 19:20:59 +02:00 |
|
Tim Hårek Andreassen
|
b97a5e415a
|
feat: Add yr package
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-26 10:07:10 +02:00 |
|
Tim Hårek Andreassen
|
dd25c4e6cb
|
feat: Add nominatim
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-25 22:09:12 +02:00 |
|
Tim Hårek Andreassen
|
012bd95cbb
|
refactor: Use query params instead of sprintf
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-24 22:18:08 +02:00 |
|
Tim Hårek Andreassen
|
5b8ba0122d
|
chore: Rename
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-24 22:08:36 +02:00 |
|
Tim Hårek Andreassen
|
29764bd79a
|
chore: Add more recipes to just
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-24 22:08:08 +02:00 |
|
Tim Hårek Andreassen
|
86d8f74a99
|
test: Add initial tests for forecast
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-24 22:01:20 +02:00 |
|
Tim Hårek Andreassen
|
7866a4e087
|
Initial commit
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-24 20:38:24 +02:00 |
|