Additional shortcut flags for filtering by current week, month, etc. #357
Replies: 10 comments
-
|
Great idea! I think all combinations of Not sure what the best way would be for structuring the CLI flags then, because adding another 8 filter options might make the There is also one caveat about the week, because in some regions the week starts on a Sunday, and in others on a Monday. |
Beta Was this translation helpful? Give feedback.
-
|
It might also be a nice addition to (optionally) extend the output of Not sure that’s really needed, though, since you can also see this info in |
Beta Was this translation helpful? Give feedback.
-
This was my initial though, but you are already providing possibility to aggregate by week so you have some assumptions/info when week start.
For now output for
To be honest most of the time I am using |
Beta Was this translation helpful? Give feedback.
-
Touché 😀 It would be good to solve this anyway (also for
👍 I was having the same thought, but I’ll experiment with it a bit. Maybe the 8 flags are also fine, but I think it would be good to group all the filter flags differently then, just so that it’s easier to grasp for users. |
Beta Was this translation helpful? Give feedback.
-
|
For the week start issue I’ve actually opened a separate ticket, because it’s a topic in itself. |
Beta Was this translation helpful? Give feedback.
-
|
(Just putting out how I use klog.) Each month I report how much time I've spent with projects the previous, so I use the command: If there was a way to specify a month more easily that would make me happy :) |
Beta Was this translation helpful? Give feedback.
-
|
@vladdeSV for your use case, you could already use But nevertheless, |
Beta Was this translation helpful? Give feedback.
-
|
I should also document all these filters a bit better (note to self). |
Beta Was this translation helpful? Give feedback.
-
|
Ah! Didn't know about |
Beta Was this translation helpful? Give feedback.
-
|
I’ve been thinking about this a little, and I’d like it best to have individual boolean flags as in In order for the That’s a bit unconventional, but I think it’s more pragmatic than having 8 separate lines with a repetitive structure. In regards to the formatting, both |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I think you it could be handy to have filter aliases similar to
todayandyesterdayfor weeks and months. Something likethisweek,lastweek,thismonthandlastmonth.Beta Was this translation helpful? Give feedback.
All reactions