basecut init introspects your database and generates a runnable basecut.yml.
It guides you through:
- root table selection
- lookup/junction table handling
- optional PII rule generation
- preflight validation against the live schema
Usage
Flags
| Flag | Default | Description |
|---|---|---|
--source <url>, -s | $BASECUT_DATABASE_URL | PostgreSQL connection string to introspect. |
--output <path>, -o | basecut.yml | Output config path. |
--force, -f | false | Overwrite existing file without prompt. |