weavori cache
Manage cached schema metadata for faster repeat runs.
Usage
weavori cache [command]
Subcommands
| Command | Description |
|---|---|
clear | Clear all cached schema metadata |
Overview
Weavori caches introspected schema metadata to speed up repeat runs against the same database. The cache is keyed by a database fingerprint, ensuring each source database maintains its own cache.
The schema is re-introspected automatically when the cache fingerprint changes (e.g., schema modifications). Use --no-cache on weavori generate to force a fresh introspection on a single run.
Cache locations
| Platform | Cache directory |
|---|---|
| macOS | ~/Library/Caches/weavori/ |
| Linux | ~/.cache/weavori/ |
| Windows | %LOCALAPPDATA%\weavori\cache\ |
Examples
Clear all cached schemas
weavori cache clear
ā Cleared 3 cached schema(s).
Bypass cache for a single generation
weavori generate postgres://user:pass@localhost:5432/mydb \
--target postgres://user:pass@localhost:5432/clone \
--no-cache