blob: b802dfb4ddf728a9b1a24bdb93711c939711324f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env node
var args = require("nomnom")
.option("docx-path", {
position: 0,
required: true,
type: "string",
help: "Path to the .docx file to convert."
})
.option("output-path", {
position: 1,
type: "string",
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");
main(args);
|