dct semantics¶
List what a source's MetricFlow bundle offers, so semantic SQL names only what the bundle declares.
Prints each dataset (columns, calculations, relationships), each entity (key, attributes), and each constellation (roles, metrics). It reads the bundle's files and never connects to the warehouse. A source that is not declared, or declares no metricflow:, fails with ERR-METRICFLOW-NO-BUNDLE.
Arguments¶
| Argument | Description |
|---|---|
SOURCE |
A source from dbt_charts.yml that declares metricflow:. |
Options¶
| Flag | Description |
|---|---|
--json |
Output as JSON. |
--project-dir PATH |
Project directory for resolving relative paths. |
Examples¶
The local MCP server offers the same listing as the describe_semantics tool.
Related¶
- Semantic queries with MetricFlow
dct describe: boards, queries, and charts