# CLI Cortex Framework build

**NAME**

`uv run cortex-build` - Build Cortex Framework Dataform package.

**SYNOPSIS**

    uv run cortex-build [-h] [--config config/config.yaml] 
                        [--output-dir dist] 
                        [--enable-apis] [--create-datasets] [--assertions ASSERTIONS]

## Global flags

| Flag | Description | Default |
|---|---|---|
| `-h, --help` | Show help message and exit. |   |
| `--config config/config.yaml` | Path to global config.yaml. | `config/config.yaml` |
| `--output-dir dist` | Path to the build output directory. | `dist` |
| `--enable-apis` | Enable required APIs without prompting. |   |
| `--create-datasets` | Create missing datasets without prompting. |   |
| `--assertions ASSERTIONS` | Path to a Dataform assertions file (assertions.sqlx). For more information, see [Cortex Framework Observability](https://docs.cloud.google.com/cortex/docs/observability). |   |