Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Notes on "t out" #16

Open
solars opened this Issue Dec 7, 2010 · 4 comments

Comments

Projects
None yet
3 participants

solars commented Dec 7, 2010

Hi, very helpful tool :)

I've built almost the same as a small sinatra app for fun, but I'm too lazy to extend it, quite nice for the cmd line!

One suggestion: It would be very helpful to have the NOTES param also at t out, as I, most of the time only know at the end of my work, what exactly I did :)

Owner

samg commented Dec 8, 2010

On recent versions out takes an optional argument for which sheet to check out of, which would collide with a notes param. This is useful to people that like to have multiple entries running on different sheets at the same time.

You can use the edit command for this very purpose though.

e.g.

$ t in
$ t edit this is what I really ended up doing
$ t out

You can also use edit's --id option to edit a description after you've checked out.

e.g.

$ t e -i 45 this is what I really ended up doing

Thanks for the suggestion and hopefully that's not too inconvenient.

Owner

samg commented Dec 9, 2010

Also the edit command support an --append (or -z) flag which will append to the current note. Also useful for recording what you're working on, as it emerges.

solars commented Dec 9, 2010

Yep sure, I know that I can edit them :)
Just wanted to point it out that it seems more natural to specify it at the end, in my opinion. But wrapped in a simple call anyway so its not a problem :)

jostber commented Feb 23, 2011

A script like this might do something like what you wish to:

#!/bin/sh

t o && t d -v | tail -4 | head -1
echo -n "Enter the completed description for this task: "
echo
read -e INPUT
t d -v | tail -4 | head -1 | awk '{print $1}' | xargs -i t e -i {} $INPUT
t d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment