weavori

The root command for the Weavori CLI — zero-config PostgreSQL synthetic data.

Usage

weavori [command] [flags]

Available commands

CommandDescription
generateGenerate synthetic data (from live DB or DDL paste mode)
syncCopy data from one PostgreSQL database to another
connectSave a database connection for use with other commands
loginAuthenticate with Weavori via Supabase Auth
logoutClear stored credentials and saved connection
whoamiShow current authentication and plan status
licenseManage your Weavori license
jobManage server-side async jobs
estimateEstimate the cost of cloning a database
doctorDiagnose common issues with your Weavori setup
subscribeSubscribe to a Weavori plan
mcpStart the MCP server (Model Context Protocol) over stdio
cacheManage cached schema metadata
versionPrint the weavori version

Global flags

FlagDefaultDescription
--helpPrint help for any command
--api-key""API key for non-interactive authentication
--output"pretty"Output format: pretty, plain, or json

Environment variables

VariableDescription
WEAVORI_API_KEYAPI key for non-interactive authentication (alternative to --api-key flag)
WEAVORI_OUTPUTOutput format (alternative to --output flag): pretty, plain, or json
WEAVORI_DATABASE_URLDefault 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.