jonsequitur / jonsequitur/tot

add support for reading back file contents partially

Open
#8 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

While `cat` and `tail` and `grep` are useful for reading back portions of a data file, they're not cross-platform, and with some awareness of the data in the file, we could be a little more helpful. Some useful features could include:

- [ ] Return all items from a specific date, e.g. `tot read things-i-ate --date 2020-09-25`
- [ ] Return most recent items going back a specific amount of time `tot read exercise --last 4h`
- [ ] Return all entries within a specific time period `tot read exercise --from -12h --to -2h`
- [ ] Return all entries containing a specific value `tot read things-i-ate --where what:coffee`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.