7 Commits

Author SHA1 Message Date
ebe9548fb3 Add bill option; fix negative minutes
The minutes were positive even when the hours were negative. This is obviously undesired, we want the entire time to be negative. That was fixed.
2020-12-15 21:38:01 +01:00
93655127db Implement 'create' and 'add' modes 2020-12-15 21:32:07 +01:00
6915ea0368 Add subparses for modes
this allows for varying additional parameters based on mode.
2020-12-15 21:20:26 +01:00
f4a2735da0 Add prototype 'add' mode 2020-12-15 20:11:40 +01:00
20a66b8f48 Add mode argument, default 'total' 2020-12-15 00:34:52 +01:00
59722e19a2 Add option to pass a different file
time.txt in the current directory is the default, but another path can be passed too.
2020-12-15 00:14:00 +01:00
abf61299a0 Add basic code and example 2020-12-14 23:50:16 +01:00