Configuration

Settings are layered (highest precedence first): CLI flags → REVECTOR_* environment variables → revector.toml → defaults.

# revector.toml
url = "http://localhost:6334"
migrations_dir = "migrations"
# api_key = "..."                      # or REVECTOR_API_KEY
# tracking_collection = "_revector_migrations"
SettingEnvDefault
urlREVECTOR_URLhttp://localhost:6334
api_keyREVECTOR_API_KEYnone
migrations_dirREVECTOR_MIGRATIONS_DIRmigrations
tracking_collectionREVECTOR_TRACKING_COLLECTION_revector_migrations

Set REVECTOR_LOG=revector=debug for verbose logging (or pass -v / -vv).