diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-03-18 17:11:55 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-03-18 17:11:55 +0000 |
| commit | fab0bf4a2bbfd8dd2219563dff702c629bd16e5b (patch) | |
| tree | b51cbb35a71334b81a3d67236a398aacae58e98a /bin/mammoth | |
| parent | ccdf6f46ae285469ac5ef75e3590bdd7e2e81ec4 (diff) | |
Add --output-dir argument to CLI
Diffstat (limited to 'bin/mammoth')
| -rwxr-xr-x | bin/mammoth | 6 |
1 files changed, 5 insertions, 1 deletions
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"); |
