Commit graph

17 commits

Author SHA1 Message Date
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
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
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
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
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