Uniword ships with a command-line interface built on Thor. Invoke it with the
uniword executable after installing the gem.
2. Commands
| Command | Description |
|---|---|
|
Convert a document between DOCX and MHTML formats |
|
Display document statistics and structure |
|
Validate document structure and content |
|
Three-layer DOCX verification (OPC, XSD, semantic) |
|
Run accessibility and quality checks |
|
Build document from a .docx template |
|
Batch convert documents |
|
Display or edit document metadata |
|
Generate DOCX from structured text (YAML/Markdown) |
|
Review comments and tracked changes |
|
Compare two DOCX files (document level) |
|
Compare two DOCX files (package/ZIP level) |
|
Spell and grammar checking |
|
Manage images in documents |
|
Generate and manage Table of Contents |
|
Manage headers and footers |
|
Manage watermarks |
|
Manage document protection |
|
Manage document themes (list, import, apply, auto) |
|
Manage document StyleSets (list, import, apply) |
|
Export Word resources from a local installation |
|
Show the installed Uniword version |
3. Topics
-
convert — Format conversion
-
info — Document inspection
-
validate — Structural validation
-
verify — Three-layer verification pipeline
-
check — Quality and accessibility checks
-
build — Template building
-
batch — Batch processing
-
metadata — Document metadata
-
generate — DOCX generation from structured text
-
review — Comments and tracked changes
-
diff — Document comparison
-
spellcheck — Spell and grammar checking
-
images — Image management
-
toc — Table of Contents
-
headers — Headers and footers
-
watermark — Watermarks
-
protect — Document protection
-
theme — Theme operations
-
styleset — StyleSet operations