Closed lcfd closed 6 months ago
trak create session <PROJECT_ID:STR> -h <INT> -m <INT>
This command takes the minutes and hours and subtract them from date time now.
This new workflow is determined by the absence of one of those flags:
Because it's a faster method to enter a session when you have just finished the work. It's just the opposite of the command:
trak create session myproject --when 2024-03-28 10:20 -h 1 -m 12
This command will add the minutes and hours to the starting time (when). --today works the same way.
--today
when
date
print_missing_timings_error
today
trak create session <PROJECT_ID:STR> -h <INT> -m <INT>
This command takes the minutes and hours and subtract them from date time now.
This new workflow is determined by the absence of one of those flags:
WHY?
Because it's a faster method to enter a session when you have just finished the work. It's just the opposite of the command:
trak create session myproject --when 2024-03-28 10:20 -h 1 -m 12
This command will add the minutes and hours to the starting time (when).
--today
works the same way.Extra
when
todate
print_missing_timings_error
message, triggered when user doesn't provide any timings datatoday
property. I concluded that it's just another way to say "now".