sqb format
Formats SQL files using SQLBuild’s canonical, dialect-aware representation.sqb lint for diagnostics and sqb fix
for safe semantic cleanups.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Apply canonical SQLBuild SQL formatting.
sqb format [flags]
| Flag | Description |
|---|---|
--check | Fail when formatting changes are needed without writing |
--diff | Print the proposed diff without writing |
--json | Print structured results |
--select, -s | Format selected models |
--select-file | Read selectors from a file |
--exclude | Exclude models from the selected scope |
sqb format
sqb format --check
sqb format --diff --select tag:marts
sqb lint for diagnostics and sqb fix
for safe semantic cleanups.