Skip to content
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

Filter time entries by description #16

Closed
zmoog opened this issue Apr 1, 2023 · 0 comments · Fixed by #18
Closed

Filter time entries by description #16

zmoog opened this issue Apr 1, 2023 · 0 comments · Fixed by #18
Assignees
Labels
enhancement New feature or request

Comments

@zmoog
Copy link
Owner

zmoog commented Apr 1, 2023

Sometime you want to filter the time entries, for example:

$ tgl entries --description SDH list --start-date 2023-03-27 

  description                                       Duration
 ────────────────────────────────────────────────────────────
  SDH 3229                                          6:13
  SDH 3237                                          4:52
  SDH 3069                                          4:03
  SDH 3149                                          3:27
  SDH 3256                                          2:22
  SDH 3247                                          2:18
  SDH 3140                                          1:07
  SDH 3253                                          0:56
 ────────────────────────────────────────────────────────────
  Total                                             25:10
@zmoog zmoog added the enhancement New feature or request label Apr 1, 2023
@zmoog zmoog self-assigned this Apr 3, 2023
zmoog added a commit that referenced this issue Apr 3, 2023
Add a simple `--description` option to filter the time entries to the
`entries` command group, so it's available to all time entries related
commands.

The API endpoint does not offer filtering capabilities, to we are
performing the filtering on the client side.

Refs: #16
@zmoog zmoog closed this as completed in #18 Apr 3, 2023
zmoog added a commit that referenced this issue Apr 3, 2023
Add a simple `--description` option to filter the time entries to the
`entries` command group, so it's available to all time entries related
commands.

The API endpoint does not offer filtering capabilities, to we are
performing the filtering on the client side.

Refs: #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant