terrantula export

Dump the project catalog (schema + entities + relationships) as apply-shaped YAML

Synopsis

terrantula export [options]

Options

FlagDescription
--out <path>Write YAML to this file (default: stdout)
--project <id>Project ID (overrides global --project / saved config)
--env <name>Environment name (defaults to "default")
--apply-to <url>Skip the file and pipe items into a remote apply against this URL
--dest-project <id>Destination project ID for --apply-to. Required when --apply-to is set unless the source projectId also exists on the destination. Local mode uses "terrantula" by default; hosted servers issue UUIDs — they almost never match.
--token <token>Bearer token for --apply-to (or use TERRANTULA_TOKEN)
--no-include-dataOmit Entity and Relationship rows; export schema only
--dry-runWith --apply-to, request a server-side plan (no writes). Without --apply-to, this flag is a no-op (file export is always non-destructive).
ON THIS PAGE