Command
terminus site:create
Description
Creates a new site
Example Usage
site:create <site> <label> <upstream> Creates a new Pantheon-hosted site named <site>, labeled <label>, using code from <upstream>.
site:create <site> <label> <upstream> --org=<org> Creates site associated with <organization>, with a Pantheon-hosted git repository.
site:create <site> <label> <upstream> --org=<org> --vcs-provider=github --vcs-org=<github-org> Creates a new site associated with Pantheon <organization>, using <upstream> code, with the repository hosted on Github in the <github-org> organization.
site-create
Options
| Option | Description |
|---|---|
| --ansi | Force (or disable --no-ansi) ANSI output |
| --create-repo | Whether to create a repository in the VCS provider. Default is true. |
| --define | Define a configuration item value. |
| --help | Display help for the given command. When no command is given display help for the <info>list</info> command |
| --no-ansi | Negate the "--ansi" option |
| --no-create-repo | Negate --create-repo option. |
| --no-interaction | Do not ask any interactive question |
| --org | Organization name, label, or ID. Required if --vcs-provider=github is used. |
| --quiet | Do not output any message |
| --region | Specify the service region where the site should be created. See documentation for valid regions. |
| --repository-name | Name of the repository to create in the VCS provider. Only applies if --vcs-provider is not Pantheon. |
| --skip-clone-repo | Do not clone the repository after creation. Default is false. |
| --vcs-org | Name of the Github organization containing the repository. Required if --vcs-provider=github is used. |
| --vcs-provider | VCS provider for the site repository (e.g., github, pantheon). Default is pantheon. |
| --vcs-token | Personal access token for the VCS provider. Only applies if --vcs-provider=gitlab. |
| --verbose | Increase the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv) |
| --version | Display this application version |
| --visibility | Visibility of the external repository (private or public). Only applies if --vcs-provider=github. Default is private. |
| --yes | Answer all confirmations with "yes" |