From fab0bf4a2bbfd8dd2219563dff702c629bd16e5b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 18 Mar 2014 17:11:55 +0000 Subject: Add --output-dir argument to CLI --- bin/mammoth | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/mammoth b/bin/mammoth index 16515f1..b802dfb 100755 --- a/bin/mammoth +++ b/bin/mammoth @@ -10,7 +10,11 @@ var args = require("nomnom") .option("output-path", { position: 1, type: "string", - help: "Output path for the generated HTML. Output is written to stdout if not set." + help: "Output path for the generated HTML. Images will be stored inline in the HTML. Output is written to stdout if not set." + }) + .option("output-dir", { + type: "string", + help: "Output directory for generated HTML and images. Images will be stored in separate files. Takes precedence over output-path." }) .parse(); var main = require("../lib/main"); -- cgit v1.2.3