Skip to main content

Module csl

Module csl 

Source
Expand description

doiget csl <ref> — emit a CSL JSON 1.0 array for a stored Metadata.

Reads the stored Metadata for a Ref and writes a single-element CSL JSON 1.0 array (a drop-in for citeproc-js / pandoc --csl-json consumers that expect a list) on stdout. Rendering lives in doiget_core::store::render::to_csl_array so the CLI and the doiget_csl_export MCP tool share one implementation (Slice 15b).

Reads go through Store::read; network access is never required.

Functions§

run
Run the csl subcommand against the configured store.