# CLI Cortex Framework build and deploy

**NAME**

`uv run cortex-build-and-deploy` - Deploy Cortex Framework
to Google Cloud project.

**SYNOPSIS**

    uv run cortex-build-and-deploy [-h] [--config config/config.yaml] 
                                   [--output-dir dist]
                                   [--enable-apis] [--create-datasets] 
                                   [--disable-telemetry] 
                                   [--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. |   |
| `--disable-telemetry` | Temporarily disable telemetry event logging during execution. For more information, see [Cortex Framework Telemetry](https://docs.cloud.google.com/cortex/docs/telemetry). |   |
| `--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). |   |