Checks that your project config is valid, the adapter is resolvable, and the warehouse connection works. Useful for diagnosing setup issues.Documentation Index
Fetch the complete documentation index at: https://docs.sqlbuild.com/llms.txt
Use this file to discover all available pages before exploring further.
Usage
What it checks
The command runs three groups of checks: Runtime - SQLBuild version, Python version, Python path, OS info. Configuration - Finds and validatessqlbuild_project.yml, loads sqlbuild_local.yml if present, resolves the adapter and active environment.
Connection - Displays connection settings (secrets are masked), attempts to connect to the warehouse, and runs SELECT 1 to verify query execution.
Flags
| Flag | Description |
|---|---|
--no-connection | Skip the connection and query tests. Useful for validating config without warehouse access. |
--json | Output results as JSON instead of formatted text. |
Example
Exit codes
Returns0 when all checks pass, 1 when any check fails (e.g. connection refused, invalid config).
