Commit graph

9 commits

Author SHA1 Message Date
Tim Hårek Andreassen
ffe81b005d
refactor: Make table.New generic
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-11-25 19:30:34 +01:00
Tim Hårek Andreassen
df389705a0
chore: Shorter descriptions
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-10-18 09:29:07 +02:00
Tim Hårek Andreassen
f41d630a77
refactor: Simplify flags
Use *Var version of cobra flags instead of passing around `cmd` everywhere

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-10-17 16:36:54 +02:00
Tim Hårek Andreassen
bfbd031e41
refactor: Swap logic order for UTC time convertion
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-10-04 23:38:23 +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
f1aa9cbf16
feat: Add today command
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-10-03 22:45:55 +02:00