mammoth.js icon indicating copy to clipboard operation
mammoth.js copied to clipboard

CLI options

Open clemlatz opened this issue 5 years ago • 1 comments

Hi,

Is there a way to pass options to the CLI other than style-map and output-format (eg. with arguments or a config file)? I need to set the ignoreEmptyParagraphs to false.

I tried mammoth --ignoreEmptyParagraphs false file1 file2 but got "mammoth: error: Unrecognized arguments: --ignoreEmptyParagraphs".

Currently my solution is to wrap the mammoth API in my own CLI, but I'd rather use the original CLI.

Thanks

clemlatz avatar Apr 19 '19 13:04 clemlatz

Not at the moment, no.

mwilliamson avatar Apr 20 '19 13:04 mwilliamson