files upload
Upload a file to a reference
paperpile-stage files upload <path> [flags]
| Flag | Description |
|---|---|
--api-key <value> |
Use this key for one command |
--library <value> |
Library to work in (default: your personal library) |
--reference-id <value> |
Reference by id; repeatable when downloading |
--filename <value> |
Store the upload under this name |
--primary |
Make this the reference’s main PDF |
Examples
# Attach a PDF and make it the main one
paperpile-stage files upload paper.pdf --reference-id <reference-id> --primary
# Attach a data file under a clearer name
paperpile-stage files upload data.xlsx --reference-id <reference-id> --filename supplementary-data.xlsx