I have a small CLI to create and manage note files. This week, I added a list command, which just spits out the notes ordered by date, to help me reopen previously created notes.
You can pass along a flag e.g. --since="3 months ago" or --since="2024-06-01" to only open files created in that time range. I used the human-date-parser crate for that.
Not yet entirely happy, as I would’ve liked to support --since="June" and --since="2024". Will need to see, if I separately implement those.
I have a small CLI to create and manage note files. This week, I added a
list
command, which just spits out the notes ordered by date, to help me reopen previously created notes.You can pass along a flag e.g.
--since="3 months ago"
or--since="2024-06-01"
to only open files created in that time range. I used thehuman-date-parser
crate for that.Not yet entirely happy, as I would’ve liked to support
--since="June"
and--since="2024"
. Will need to see, if I separately implement those.