Yes, you can use a Lightdash CLI command that generates exposures for your dbt docs and lineage graph.
Try it by installing the latest CLI version:
โ
# install latest CLI version npm install -g @lightdash/cli@latest # Generate exposures lightdash generate-exposures
Limitations:
โ
it generates a YML file in
models/lightdash_exposures.yml
and replaces the existing fileonly the active project and its dashboard and charts are generated
the owner is the last user who updated the chart/dashboard
exposures depend on all possible joined models. eg: If a chart is created from the model "orders" which joins "payments". Both models will show as dependencies.