@lightdash/cli 2.198.4 → 2.198.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,22 @@ Commands:
22
22
 
23
23
  eg: `ligthdash test` Runs `dbt test`
24
24
 
25
+ ## Project validation
26
+
27
+ `lightdash validate` checks existing project content against locally compiled
28
+ models. Data apps are included by default, or use `--only apps` to check only
29
+ their stored data references:
30
+
31
+ ```shell
32
+ lightdash validate --profiles-dir ../profiles/ --select path:models/marts --only apps
33
+ ```
34
+
35
+ With `--select`, `--models`, `--exclude`, or `--selector`, data apps are checked
36
+ against the compiled selection. App references to models outside that selection
37
+ fail validation, as do broken references within it. The command exits non-zero
38
+ on errors. It does not fall back to a full-project compile or require additional
39
+ warehouse access for app validation.
40
+
25
41
  ## AI agents as code
26
42
 
27
43
  AI-agent project configuration can be downloaded into