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.
sqb janitor
Identifies and removes stale warehouse relations that are no longer part of the project. Requiresjanitor.enabled: true in sqlbuild_project.yml.
Usage
Flags
| Flag | Description |
|---|---|
--auto-approve | Skip the confirmation prompt and delete immediately |
--retention-days | Override the configured retention period (days) |
Configuration
Configure janitor behavior insqlbuild_project.yml:
Examples
Safety
Janitor prompts for confirmation before deleting. The confirmation requires typing an exact string to prevent accidental deletion. Use--auto-approve only in CI or when you’re certain.
