Command Line Interface¶
dcclib-cli ships a single entry point (cli) with five top-level command groups:
dcclib [--version] [--help]
├── validate – Validate a DCC XML file (XSD + Schematron)
├── convert – Convert between DCC XML and JSON
├── extract – Extract formulas or embedded files from a DCC
├── transform – Apply XSLT stylesheets
└── signature – Sign and verify XML digital signatures
Installation¶
# Via pip
pip install "dcclib[cli]"
# Recommended: install the CLI globally with pipx
pipx install "dcclib[cli]"
After installation, the dcclib command is available in your PATH:
dcclib --help
dcclib --version
Common options¶
Output format (--format / -f)¶
Most commands support a --format (or -f) option to control the output style:
| Format | Description |
|---|---|
plain |
Human-readable text (default) |
table |
ASCII table layout |
json |
Machine-readable JSON |
junit |
JUnit XML (for CI integration) |
Commands¶
The full, auto-generated command reference — every subcommand, argument, and option — lives on the Command Reference page: