zettelgeist icon indicating copy to clipboard operation
zettelgeist copied to clipboard

simplify output options for zfind

Open icornelius opened this issue 2 years ago • 4 comments

Output of zfind is controlled with options of the form --show-<FIELD>, e.g. --show-title, --show-summary, --show-bibkey. Usage and documentation would be simplified if the syntax were changed to

--show [field]...

The option --show, without arguments, would be synonymous with the current --show-all.

icornelius avatar Sep 24 '22 18:09 icornelius

Are you thinking something like --show f1:f2:f3, e.g. --show title:summary?

gkthiruvathukal avatar Mar 10 '23 17:03 gkthiruvathukal

Specific delimiter to be discussed with @icornelius.

gkthiruvathukal avatar Mar 10 '23 17:03 gkthiruvathukal

Or just a space as delimiter?

icornelius avatar May 24 '24 03:05 icornelius

We can work on this, @icornelius!

I want to turn the entire suite into an information tool (+ some other ideas related to generative AI). Publishing is a separate step than can be achieved primarily by transformation. Possibly outputs could include JSON, XML or YAML itself. Then the user can postprocess at will.

gkthiruvathukal avatar May 24 '24 04:05 gkthiruvathukal