Lem/Docs

import

Discover papers and merge them into Lem's registry.

Invocation#

Shell
lem-cli import

Inputs and options#

  • No positional inputs or options.
  • Uses LemPaperDiscovery, enriches the merged catalog with the Oko agenda, and localizes missing local sources.

Output and state#

Creates the registry's parent directory if needed, rewrites the registry as pretty sorted JSON, and prints imported, registry_path, and the previous count as was.

Refusals#

  • A directory-creation, encoding, or write failure refuses with “could not write registry at <path>: <detail>”.
  • Arguments after import are currently ignored by the dispatcher.