I’m trying to bulk import PDFs with WP-CLI. Here’s the command I’m using:
wp pdf-light-viewer bulk-import --source-dir="/articles" --jpeg-compression-quality=80 --jpeg-resolution=300 --output-biggest-side=1200 --post-status=draft --import-pdf-file
I get the following error:
Warning: The `wp pdf-light-viewer bulk-import` command has an invalid synopsis part: [--output-biggest-side=]
Error: Parameter errors:
unknown --output-biggest-side parameter
I’m absolutely baffled. I had tried the bulk import on my local machine and didn’t get that error, though it would always stall out after a few files.