Skip to content
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

Adding an entry retrospectively #134

Open
jakubgarfield opened this issue May 30, 2016 · 2 comments
Open

Adding an entry retrospectively #134

jakubgarfield opened this issue May 30, 2016 · 2 comments

Comments

@jakubgarfield
Copy link

Is there a way to add an entry retrospectively? Something that would cover these 3 commands.

t in Description of the task
t out
t e -s 10:00 -e 11:00

Easy to wrap them in the script, but just asking if I'm not missing out on some feature.

@samg
Copy link
Owner

samg commented May 30, 2016

There's currently no way to do this with a single timetrap command. You could "simplify" this to two commands along the lines of:

t i -a 10:00 Description of task
t o -a 11:00

There's also the t backend command which gives you a raw SQL console, though that may not be particularly convenient.

Probably your best bet is defining a shell alias or function (or script) to do this if it's a common task for you. I could imagine t edit being changed to take an additional flag that would cause it to create a new entry instead of modifying a previous one. Something along the lines of t edit --new -s10:00 -e11:00 Description of the task.

@animetrics
Copy link

I think the main problem with the solution is that you can't do it while you are checked in. It's a common enough task that I think warrants an extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants