Open
Description
A lot of the time, it's useful to be able to see intro snippets of content when flicking through your notes. There's a few way to do this, but an important constraint is that anything that does this needs to play nicely with piping. You must be able to pipe the results of a search into notes open
and open all the matching notes.
Implementation options:
- Command line option (
--snippets
?) which adds snippets to output. - Separate command which provides snippets for the given files (
notes find | notes snippets
?| notes head
?). - Output snippets when stdout is a tty, but hide them and output only the file names if it's not.
Thoughts welcome.