@doclith/cli
v0.6.1
Published
DocLang v0.6 — CLI `doclang` (validate, …).
Readme
@doclith/cli
Command-line interface for doclith: validate DocLang documents from the terminal.
Part of doclith — a TypeScript/JS SDK for the DocLang v0.6 format.
Install
pnpm add -g @doclith/cliUsage
doclang validate document.dclg.xml # ✓/✗ + issues
doclang validate document.dclg.xml -f json # machine-readable JSON
doclang validate document.dclg.xml --xsd-only # structure only
doclang validate document.dclg.xml -n # tolerate missing namespaceExit codes: 0 valid · 1 invalid · 2 usage/file error.
License
Apache-2.0
