Sicos1977 / ChromiumHtmlToPdf

Convert HTML to PDF with a Chromium based browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input-is-list fails

Derek-Karpinski opened this issue · comments

This tool works great on single local html files. I have an issue trying to pass multiple files in. It's possible I don't have the arguments structured right. I can provide stripped down sample html files if it would help. Thanks and keep up the good work!

C:\Users\212549737\Downloads\ChromeHtmlToPdf_216\ChromeHtmlToPdf\ChromeHtmlToPdfConsole --logfile C:\Users\212549737\Desktop\testing\log.txt --input-is-list --input C:\Users\212549737\Desktop\testing\DOCUMENTATION_DOCUMENTATION_1_1.html C:\Users\212549737\Desktop\testing\DOCUMENTATION_DOCUMENTATION_1_2.html C:\Users\212549737\Desktop\testing\DOCUMENTATION_DOCUMENTATION_1_3.html --output C:\Users\212549737\Desktop\testing\Documentation.pdf

log.txt

I found my problem....input is a file when --input-is-list is flagged. May I suggest some clearer help documentation?

` --input Required. The input url or local html file.
If --input-is-list option is used, --input
is a file containing a list of urls or local
html files to convert.

--input-is-list This optional argument flags the application to convert
a list of urls or local html files specified
in a file defined in the --input option.
If this option is used, the --output argument
is a path where the converted pdfs will be
written. e.g. C:\MyConvertedFiles

--output Required. The path to the output file.
If --input-is-list option is used, --output
is a path where the converted pdfs will be
written. e.g. C:\MyConvertedFiles`