Quickstart
Quickstart
All possible rules can be found in the rules documentation. Information about customizing dbtective is shown at the config documentation
- Create a
dbtective.ymlconfig file in the root of your dbt project by running:
More about the init (it also supports pyproject.toml or dbtective.toml) command is available in the init documentation.
dbtective initInspect the contents of the generated dbtective.yml file and modify it to fit your project’s needs.
- (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 generate- Run
dbtectivein the root of your current directory or specify an entry point if your dbt_project is not located in the root/current drectory.
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.