Quickstart
All possible rules can be found in the rules documentation. Information about customizing dbtective is shown at the config documentation
Generate your config file by answering a few simple questions:
dbtective initThis walks you through picking a config format, naming convention, data model, strictness level, and which rules to enable — then generates the config for you. See the CLI reference for details.
(Optional) Generate the dbt manifest and catalog files if you haven’t done so already. Most dbt commands automatically generate the
manifest.json, but if you want to ensure both files are up to date, run:dbt compile dbt docs generateRun
dbtectivein the root of your current directory or specify an entry point if your dbt_project is not located in the root/current directory.dbtective run dbtective run --entry-point "my_dbt_project"Review the output and fix any issues found.
(Optional) Integrate
dbtectiveinto your CI/CD pipeline or pre-commit hooks to automate rules on every commit and/or pull request.