weavori cache
Manage cached schema metadata for faster repeat runs.
Last updated October 20, 2018
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. Each source database keeps its own cache.
The schema is re-introspected automatically when it changes. Use --no-cache on weavori generate to force a fresh introspection on a single run.
Cache location
| Platform | Cache directory |
|---|---|
| Linux / macOS | ~/.weavori/cache/ |
| Windows | %USERPROFILE%\.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