weavori
The root command for the Weavori CLI — zero-config PostgreSQL synthetic data.
Usage
weavori [command] [flags]
Available commands
| Command | Description |
|---|---|
generate | Generate synthetic data (from live DB or DDL paste mode) |
sync | Copy data from one PostgreSQL database to another |
connect | Save a database connection for use with other commands |
login | Authenticate with Weavori via Supabase Auth |
logout | Clear stored credentials and saved connection |
whoami | Show current authentication and plan status |
license | Manage your Weavori license |
job | Manage server-side async jobs |
estimate | Estimate the cost of cloning a database |
doctor | Diagnose common issues with your Weavori setup |
subscribe | Subscribe to a Weavori plan |
mcp | Start the MCP server (Model Context Protocol) over stdio |
cache | Manage cached schema metadata |
version | Print the weavori version |
Global flags
| Flag | Default | Description |
|---|---|---|
--help | Print help for any command | |
--api-key | "" | API key for non-interactive authentication |
--output | "pretty" | Output format: pretty, plain, or json |
Environment variables
| Variable | Description |
|---|---|
WEAVORI_API_KEY | API key for non-interactive authentication (alternative to --api-key flag) |
WEAVORI_OUTPUT | Output format (alternative to --output flag): pretty, plain, or json |
WEAVORI_DATABASE_URL | Default PostgreSQL DSN when commands don't provide one |
Output modes
- pretty — Human-readable with colors and Unicode (default)
- plain — RFC 3339 timestamped log lines, CI-friendly
- json — Machine-readable JSONL for scripting
Paste mode
weavori generate --input-format ddl parses CREATE TABLE statements and generates data without connecting to a live database. Output defaults to stdout (JSON/CSV) unless --target is specified.
Configuration
Weavori stores its configuration in ~/.weavori/config.yaml. This file is created automatically on first use and contains your authentication tokens, license key, server URL, and saved database connections.