Ranked section hits for a query
Usage: sklad search [OPTIONS] <QUERY>...
<QUERY>... Query words; every word is optional, more matches rank higher
--limit <LIMIT> [default: 10]
--root <DIR> The vault root. Default: $KB_ROOT, else the nearest ancestor of the current directory that holds `.kb/` or `.git` [alias: --vault]
--json Print JSON instead of text
--per-doc <PER_DOC> At most this many hits per document; 0 for no cap [default: 3]
--path <GLOB> Only paths matching this glob (repeatable; any of them)
--not-path <GLOB> Skip paths matching this glob (repeatable)
--where <PREDICATE> A frontmatter predicate `KEY OP VALUE`, OP one of eq = in nin != exists missing lt < lte <= gt > gte >= (repeatable)
--filter <JSON> A full filter as JSON
--kind <KIND> Only entries of this kind, outside the archive (needs the definition)
--state <STATE> Only entries of `--kind` whose state is in this group [possible values: active, inactive, done]