papers
List every paper in Lem's registry.
Invocation#
lem-cli papersInputs 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.
A registry that is not there yet lists no papers and adds the note “no registry at <path> yet”; one that is there and holds no papers adds “registry at <path> contains no papers”.
Refusals#
- A registry that is there but cannot be read or decoded refuses with “registry at <path> cannot be read: <cause>” and exits nonzero; it is never listed as empty. The same read stands behind paper, roadmap and import.
- If JSON serialization fails, Lem writes “lem-cli: failed to serialize output” to stderr and exits nonzero.