Tim Hårek Andreassen
|
687d3e8be7
|
feat: Open yr.no on yr --web
Implements: https://todo.sr.ht/~timharek/yr/3
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 23:26:35 +02:00 |
|
Tim Hårek Andreassen
|
437f7f5f9a
|
feat: Add caching
Implements: https://todo.sr.ht/~timharek/yr/1
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 23:20:26 +02:00 |
|
Tim Hårek Andreassen
|
cb00a14019
|
feat: Add debug cmd flag
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-10-04 23:19:20 +02:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
7866a4e087
|
Initial commit
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
|
2024-09-24 20:38:24 +02:00 |
|