Closed nvaken closed 4 years ago
Very good idea. Maybe it could also be realized via a tag command --tag SUPPORT
will add @SUPPORT
and allow filtering.
The formatter called total does not do this for you? I use different time sheets, so perhaps my organization is different from how you are using it?
Not really in my case. I use different time sheets for different projects but I need some more refinement for reporting within one project. The project is split into several task and I want to tag those task. At @nvaken wrote, same like grep
functionality but summing up the time expenses. I have checked the time_formatters and it should not be a big deal to implement it. I just wonder if it has be done already by someone because it should be a quite frequent problem.
Do you use hashtags, like #task1 #task2 for the tasks in your projects, or totally different timesheets one for each task, perhaps? How would you like it to work?
I would love to see this work just like grep
, hashtags would imply that I'd have to tag everything I'd like to filter in the future. This might end up in those kind of horrible tweets with way to much concatenated tags like #awesome #lovemylife #ihavenoideawhatimdoing
.
My post above (Apr 20th) does indeed show my intentions for searching for a tag, though I can imagine that I might want to search for keywords in the message as well. For example, I might want to find every entry that enlists a colleague's name: t today --filter 'Chuck Norris'
and get all my entries I've added Chuck's name to. This is just a quick example though, filtering like this might have other usecases too.
I'd also suggest making it possible to add more complex queries like regular expressions.
Pseudocode: filter all entries from sheet matching regex and sum up total time for the resulting selection
I think this was solved by the -g
option. Closing for now
I'm labeling my entries as
SUPPORT - Helping customer X with getting task Y done
. Currently Igrep
my today overview to review what time I've spent onSUPPORT
, eg.t today | grep SUPPORT
. This gives me a pretty good indication of what I've spent on support, but I'd love to see the total amount of time. So maybe something liket today --filter SUPPORT
would be a nice addition? Or did I just overlook things in the manual?