@ooxml-tools/cli
Advanced tools
@@ -14,6 +14,5 @@ #!/usr/bin/env node | ||
| .example([ | ||
| [`${scriptName} open ./test.docx word/document.xml`], | ||
| [`${scriptName} cat ./test.docx word/document.xml`], | ||
| [`${scriptName} render --app msword,pages .test.docx`], | ||
| [`${scriptName} validate .test.docx`], | ||
| [`${scriptName} init ./test.docx`], | ||
| [`${scriptName} read ./test.docx word/document.xml`], | ||
| [`${scriptName} render ./test.docx`], | ||
| ]) | ||
@@ -20,0 +19,0 @@ // File commands |
+1
-1
| { | ||
| "name": "@ooxml-tools/cli", | ||
| "version": "0.2.6", | ||
| "version": "0.2.7", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+6
-6
@@ -8,3 +8,4 @@ # <img alt="@ooxml-tools/cli" height="56" src="https://github.com/user-attachments/assets/aab3d389-6c30-4d5b-932d-2abe7734e21e" /> | ||
| ```bash | ||
| npx @ooxml-tools/cli [args] | ||
| npx @ooxml-tools/cli --help | ||
| # ooxml <command> [args] | ||
| # | ||
@@ -17,5 +18,5 @@ # Commands: | ||
| # write <docxpath> <filepath> create/override file in docx | ||
| # init <docxpath> initializes a blank file (docx) | ||
| # render <filepath> render files | ||
| # support <filepath> list supported apps for <filepath> | ||
| # validate <filepath> validate docx files | ||
| # convert <from> <to> <value> convert between units | ||
@@ -28,6 +29,5 @@ # | ||
| # Examples: | ||
| # bin/ooxml-cli.ts open ./test.docx word/document.xml | ||
| # bin/ooxml-cli.ts cat ./test.docx word/document.xml | ||
| # bin/ooxml-cli.ts render --app msword,pages .test.docx | ||
| # bin/ooxml-cli.ts validate .test.docx | ||
| # ooxml init ./test.docx | ||
| # ooxml read ./test.docx word/document.xml | ||
| # ooxml render ./test.docx | ||
| ``` | ||
@@ -34,0 +34,0 @@ |
4682
-3.1%35
-2.78%