-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify both start and end time in same command? #627
Comments
@sebastiancarlos Good idea! 👍🏻 I added a new sub-command
You can have a look at it in 👉🏻 branch feature/sub-commands Note that this implementation will now modify the designated interval into an open interval if only a single datetime (and not a range) is given, i.e.
is possible and converts interval I was also thinking about making A nice side effect of the implementation is that the
i.e. the sub-command does not need to immediately follow the command. |
@lauft Sounds great, thanks! I'll give it a try.
I’m not familiar with the codebase, but my suggestion would be:
Thanks again! |
I was thinking about those two things as well, only in reversed order... 😄 Maybe the warning about unconsumed arguments is not that hard to implement... |
Currently, the signature of
modify
is:So, to change the start and end, you need to issue two commands:
Another command,
track
, already has a way of setting both start and end at the same time, but it creates a new interval:So, how about adding a new form of the
modify
command that allows setting both the start and end of an existing interval?The text was updated successfully, but these errors were encountered: