[egulu CLI reference](../index.md) / [egulu previews](index.md)

# egulu previews create

POST /v1/projects/{project}/locations/{location}/previews

```sh
egulu previews create <NAME> [options]
```

## API operation

[Previews_create](../../api/delivery/Previews_create.md): `POST /v1/projects/{project}/locations/{location}/previews` (delivery module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the previewId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--app-name` | value | no | appName |
| `--base-branch` | value | no | baseBranch |
| `--display-name` | value | no | displayName |
| `--head-branch` | value | no | headBranch |
| `--head-sha` | value | no | headSha |
| `--host-label` | value | no | hostLabel |
| `--labels` | value | no | labels: comma-separated, or @file with one item a line |
| `--location` | value | yes | location |
| `--pr-number` | value | no | prNumber |
| `--project` | value | yes | project |
| `--source-repository` | value | no | sourceRepository |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
