Lem/Docs

library show

Show one external paper by its own source identifier.

Invocation#

Shell
lem-cli library show <source>

Inputs and options#

  • Exactly one source is required: an arXiv id or arxiv.org URL, a DOI or doi.org URL, the URL of the page that published the work, or a page record's host/path identity.
  • An arXiv version suffix is accepted and normalized to the unversioned id. A DOI is matched case-insensitively.

Output and state#

Prints the complete saved record, including source_kind, metadata, venue, local reading paths, text status, acquisition notes, and analysis when present. It writes no state and makes no network call.

Refusals#

  • A missing or extra argument refuses with “library show needs one arXiv id, DOI, or URL”.
  • A selector that is none of those refuses with “'<value>' is not an arXiv id, a DOI, or an http(s) URL”; an absent record refuses with “the literature library has no paper with id <id>”.