Lem/Docs

doctor

Name the library this machine keeps outside Lem that import reads only as an export.

Invocation#

Shell
lem-cli doctor --check import-sources

Inputs and options#

  • --check import-sources is the one check doctor takes.

Output and state#

Prints JSON with check and outside. outside lists Zotero's data folder (~/Zotero holding zotero.sqlite) when this machine has one, with moved_by: export the library from Zotero as CSL JSON, then lem-cli import --csl <file.json>. Every other source is a file a person names. Nothing is written.

Refusals#

  • Any other words refuse with doctor-check-unknown (“doctor --check takes import-sources”), exit 2.