aboutsummaryrefslogtreecommitdiff
path: root/bin/mammoth
blob: 16515f1e4b4652a206e5b4aef4933ebdb5bb4290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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. Output is written to stdout if not set."
    })
    .parse();
var main = require("../lib/main");

main(args);