# export { #tvbo.cli.export }

`cli.export`

``tvbo export`` — render a SPEC into a target format (no execution).

## Functions

| Name | Description |
| --- | --- |
| [export](#tvbo.cli.export.export) | Render *spec* into *format* without executing it. |

### export { #tvbo.cli.export.export }

```python
cli.export.export(
    format=typer.Argument(..., help='Format key or alias (see `tvbo formats`).'),
    spec=typer.Argument(..., help='Path, CURIE, or DB name.'),
    output=typer.Option(None, '-o', '--output', help='Output file or directory. When omitted, writes to stdout (text formats only).'),
    metadata_only=typer.Option(True, '--metadata-only/--with-data', help='Bundle binary network/data alongside the metadata file.'),
)
```

Render *spec* into *format* without executing it.

Resolves *spec* (file path, CURIE, or DB name) to a TVBO object and writes the rendered output to *--output* or stdout. Use `tvbo formats` to list available format keys.