Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Notes on "t out" #16

Open
solars opened this Issue · 4 comments

3 participants

@solars

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 :)

@samg
Owner

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.

@samg
Owner

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

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

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
Something went wrong with that request. Please try again.