# catalog

> Create a catalog of data contracts, as HTML or Markdown.

# `datacontract catalog`

```bash
datacontract catalog [OPTIONS]
```

| Option | Default | Description |
|---|---|---|
| `--files` | `*.yaml` | Glob pattern for the data contract files to include in the catalog. Applies recursively to any subfolders. |
| `--output` | `catalog/` | Output directory for the catalog files. |
| `--format` | `html` | Format of the catalog pages: HTML pages, or Markdown files with an index.md. |
| `--mermaid` / `--no-mermaid` | `--mermaid` | Add a Mermaid entity relationship diagram to each Markdown page. The HTML pages always include it. |
| `--json-schema` | — | The location (url or path) of the ODCS JSON Schema |
| `--debug` / `--no-debug` | — | Enable debug logging |

```bash
datacontract catalog --files "**/*.yaml" --output catalog/
```
