| command | Subcommand: test / list-dbs / list-tables / export / import / dump-neutral / restore-neutral / preview-crossdb | yes | — |
| type | mysql / postgres / mssql / sqlite / supabase / mongo / redis | yes | — |
| host | Host / IP / Atlas URI / SQL Server "HOST\INSTANCE" | no | — |
| port | Port (driver default if omitted) | no | — |
| user | User | no | — |
| password | **Pass via secrets!** Do not hard-code. | no | — |
| database | DB name | no | — |
| path | SQLite-only: file path | no | — |
| ssl | Enable SSL (true/false). Supabase 自動加 | no | false |
| auth-mode | MSSQL only: sql | windows | no | — |
| out | (export / dump-neutral) Output file path | no | — |
| file | (import / restore-neutral) Input file path | no | — |
| tables | Comma-separated subset of tables | no | — |
| no-data | (export / dump-neutral) Schema only | no | false |
| no-schema | (export) Data only | no | false |
| encrypt | (export / dump-neutral) AES-256-GCM encrypt the output; .enc suffix | no | false |
| dump-password | (export / import / dump-neutral / restore-neutral) **Pass via secrets!** Dump file password — separate from DB password | no | — |
| s3-bucket | (export / dump-neutral) Upload dump to s3://bucket/...; AWS creds 走 standard chain | no | — |
| s3-prefix | S3 key prefix (default empty) | no | — |
| s3-region | AWS region (default AWS_REGION env) | no | — |
| s3-endpoint | Custom S3 endpoint (MinIO / Cloudflare R2) | no | — |
| s3-delete-local | 砍掉本機檔(純 S3 archive 模式) | no | false |
| source-type | (preview-crossdb) Source DB type | no | — |
| source-host | (preview-crossdb) | no | — |
| source-port | (preview-crossdb) | no | — |
| source-user | (preview-crossdb) | no | — |
| source-password | (preview-crossdb) **Pass via secrets!** | no | — |
| source-database | (preview-crossdb) | no | — |
| target-type | (preview-crossdb) Target DB type | no | — |
| json | Emit JSON output instead of human-readable | no | false |
| quiet | Suppress progress chatter | no | false |
| config | Path to a JSON config file (alternative to individual flags) | no | — |