Add flag similar to --short
but filter the entry body for the search term
#1941
Labels
--short
but filter the entry body for the search term
#1941
Use Case/Motivation
On days out I often write a long list of things I've done as one entry, somewhere in the middle the entry might include
@movie
or@show
tags with the movie or show I went to see. I often like to filter my journal for all the movies or shows I've seen, but using--short
only includes the title of the entry e.g. "day in town" rather than "Beetlejuice @movie"Example Usage
If my journal is
Running
jrnl --contains @show --short
currently produces:I'd like a command that produces
jrnl --contains @show --relevant-short
:It might be worth considering an option that inputs both the title and the relevant line in the entry
jrnl --contains @show --compact
:Other Information
Related to this closed issue #384
The text was updated successfully, but these errors were encountered: