egulu CLI reference / egulu previews
egulu previews create
POST /v1/projects/{project}/locations/{location}/previews
egulu previews create <NAME> [options]
API operation
Previews_create: 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 apply too.