Uniword ships with a command-line interface built on Thor. Invoke it with the uniword executable after installing the gem.

1. Global options

All commands accept --verbose (-v) for detailed output.

2. Commands

Command Description

uniword convert INPUT OUTPUT

Convert a document between DOCX and MHTML formats

uniword info FILE

Display document statistics and structure

uniword validate FILE

Validate document structure and content

uniword verify FILE

Three-layer DOCX verification (OPC, XSD, semantic)

uniword theme SUBCOMMAND

Manage document themes (list, import, apply, auto)

uniword styleset SUBCOMMAND

Manage document StyleSets (list, import, apply)

uniword resources SUBCOMMAND

Export Word resources from a local installation

uniword version

Show the installed Uniword version

3. Topics

  • convert — Format conversion

  • info — Document inspection

  • validate — Structural validation

  • verify — Three-layer verification pipeline

  • theme — Theme operations

  • styleset — StyleSet operations


Table of contents