WP CLI Error: `wp pdf-light-viewer bulk-import` command has an invalid synopsis part: [–output-biggest-side=<output`

QuestionsCategory: PDF Light ViewerWP CLI Error: `wp pdf-light-viewer bulk-import` command has an invalid synopsis part: [–output-biggest-side=<output`
Sallie Goetsch asked 7 months ago

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.

supportsupport replied 7 months ago

Hello Sallie, thank you for your message. First of all please let me know versions of wordpress, wp-cli and PDF Light Viewer plugin(s) which you use – for both: remove server and your local server.