# init

> Create an empty data contract.

# `datacontract init`

{/* AUTOGENERATED from `datacontract --help`: do not edit by hand; regenerate with update_command_docs.py */}

Create an empty data contract.

```bash
datacontract init [OPTIONS] [LOCATION]
```

| Argument | Default | Description |
|---|---|---|
| `[LOCATION]` | `datacontract.yaml` | The location of the data contract file to create. |

| Option | Default | Description |
|---|---|---|
| `--template` | — | URL of a template or data contract |
| `--overwrite` / `--no-overwrite` | `--no-overwrite` | Replace the existing datacontract.yaml |
| `--debug` / `--no-debug` | — | Enable debug logging |

```bash
datacontract init datacontract.yaml
```
