weavori

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

Last updated October 20, 2018

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
logoutClear stored credentials and saved connection
whoamiShow current authentication and plan status
estimateEstimate generation time for a database schema
doctorDiagnose common issues with your Weavori setup
subscribeOpen the dashboard subscription page in your browser
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
-v, --verbosefalseEnable debug output

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 user-specific state in ~/.weavori/config.yaml, created automatically on first use. It holds your saved database connection, cached subscription token, and device identity. See Configuration & Environment Variables for all config files, environment variables, and precedence rules.