neuron v2 query
srid opened this issue · comments
After the plugin architectural refactor in neuron v2, the query interface has radically changed.
I've just added neuron query --zettels
and neuron query --tags
that should be helpful for editor support. You might want to make neuron-mode.el use that. /cc @azazel75
Change: srid/neuron#547
Docs: https://neuron.zettel.page/query.html (do a full browser refresh if you see the old docs)
Should work in f256069, but I removed the feature that displayed the number of zettels associated with each tag when showing prompts for selecting tags, for now.
I had to work with the internal representation of plugin data though, so it might break later if the PluginData field changes format.
What are you using PluginData
(which is really internal data for plugins) for? Shouldn't neuron query --tags
and neuron query --tag=foo
be sufficient?