Read this guide on how dbt's ls (list) command can be used to list resources in your dbt project.| docs.getdbt.com
The dbt compile command creates executable SQL from model, test, and analysis files.| docs.getdbt.com