Plan is the main command of SQLMesh. It allows you to interactively create a migration plan, understand the downstream impact, and apply it. All changes to models and environments are materialized through
Read more about plans.
Evaluate a model or snapshot (running its query against a DB/Engine). This command is used to test or iterate on models without side effects.
Renders a model's SQL query with the provided arguments.
Given a SQL query, fetches a pandas dataframe.
Runs all tests.
Read more about testing.
Runs all audits.
Read more about auditing.
Formats all SQL model files in place.
Shows the diff between the local model and a model in an environment.
Shows the DAG.