Overview of dclq
maindclq is a deterministic, read-only CLI tool designed for querying DocLang documents. It allows developers to inspect, outline, and search semantic units within a document using XPath and regular expressions.
Unlike standard text search tools, dclq operates on the semantic structure of the document (headings, lists, tables, fields, etc.) rather than just flattened text. It provides reusable XPath addresses for every result, enabling precise retrieval of document sections.
Core Workflow:
- Inspect or outline a document.
- Grep or list semantic units.
- Receive bounded results with XPath addresses.
- Retrieve a specific section or exact source selection using
showorselect.