From 8c78bde5725c3442f3b5c9a470615a2fde902e5b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 18 Mar 2014 16:21:12 +0000 Subject: Add CLI to README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index b20eb01..ca83f13 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,15 @@ You can start it up by running `node lib/web.js` from the project directory. Browserify can be used to run Mammoth in the browser. To see an example, run `make setup` and open `browser-demo/index.html` in a web browser. + +### CLI + +You can convert docx files by passing the path to the docx file and the output file. +For instance: + + mammoth document.docx output.html + +If no output file is specified, output is written to stdout instead. ### Library -- cgit v1.2.3