-
Notifications
You must be signed in to change notification settings - Fork 28
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
Additional shortcut flags for filtering by current week, month, etc. #140
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. |
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 |
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 |
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. |
For the week start issue I’ve actually opened a separate ticket, because it’s a topic in itself. |
(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 :) |
@vladdeSV for your use case, you could already use But nevertheless, |
I should also document all these filters a bit better (note to self). |
Ah! Didn't know about |
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 |
Hey, I think you it could be handy to have filter aliases similar to
today
andyesterday
for weeks and months. Something likethisweek
,lastweek
,thismonth
andlastmonth
.The text was updated successfully, but these errors were encountered: