Lem/Docs

citation-harvest

Inspect a paper's harvest status without starting work.

Invocation#

Shell
lem-cli citation-harvest <id-or-title>

Inputs and options#

  • id-or-title is required and must be the first argument.
  • The bare form and the explicit status subcommand are equivalent.

Output and state#

Prints the on-disk harvest status as JSON: manifest, with_text, batches, notes, candidates, depths, bound, stale, and next. It starts no discovery, fetch, model call, or write.

Refusals#

  • A missing selector, or a first argument beginning with -, prints citation-harvest usage and exits nonzero.
  • A paper with no local source directory or no main .tex manuscript refuses before status is read.
  • An unknown leaf prints “unknown citation-harvest subcommand: <name>”, then usage, and exits nonzero.