Lem/Docs

papers

List every paper in Lem's registry.

Invocation#

Shell
lem-cli papers

Inputs and options#

  • No positional inputs or options.
  • Reads LemBackendConfig.registryURL; set LEM_PAPERS_PATH to select another registry.

Output and state#

Prints JSON with papers and count. Each paper contains id, title, priority, status, sources, and any tags, target_venue, or finish_order. This command does not write state.

An absent or unreadable registry is treated as empty and adds a note naming the registry path.

Refusals#

  • The command has no command-specific refusal. Arguments after papers are currently ignored by the dispatcher.
  • If JSON serialization fails, Lem writes “lem-cli: failed to serialize output” to stderr and exits nonzero.