references add

​

Save references from DOIs, a BibTeX file, or JSON

paperpile-stage references add [flags]
Flag Description
--api-key <value> Use this key for one command
--library <value> Library to work in (default: your personal library)
--doi <value> DOI to resolve and save; repeatable
--bibtex <value> BibTeX file to import, or - for stdin
--json <value> Read the request body from a JSON file, or - for stdin
--folder <value> Folder id — filters a list, destination when saving; repeatable
--label <value> Label id — filters a list, applied when saving; repeatable
--note <value> Note text
--no-find-pdfs Do not queue a PDF crawl for what is saved
--allow-duplicates Save even when the identifier is already in the library

Examples

# Save two papers by DOI and label them
paperpile-stage references add --doi 10.1038/nature12373 --doi 10.1126/science.1225829 --label <label-id>

# Import a BibTeX file into a folder
paperpile-stage references add --bibtex library.bib --folder <folder-id>