Add --yesterday and --or filter criteria.

* `--yesterday` is like `--today`, but for yesterday 😄.
* `--or` changes the behavior of filter criteria to return a union of
  events matching an of the criteria than an intersection of events
  matching all the criteria. Example:

      ptk list --today --yesterday

  Will never return results (because the criteria are mutually
  exclusive).

      ptk list --today --or --yesterday

  Will return the marks for both today and yesterday.
This commit is contained in:
Jonathan Bernard
2018-04-27 13:22:06 -05:00
parent 81d326c5c8
commit e5c6e6187c
2 changed files with 53 additions and 27 deletions

View File

@ -1,6 +1,6 @@
# Package
version = "0.11.3"
version = "0.12.0"
author = "Jonathan Bernard"
description = "Personal Time Keeper"
license = "MIT"