Skip to main content
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

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--create-repoWhether to create a repository in the VCS provider. Default is true.
--defineDefine a configuration item value.
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-create-repoNegate --create-repo option.
--no-interactionDo not ask any interactive question
--orgOrganization name, label, or ID. Required if --vcs-provider=github is used.
--quietDo not output any message
--regionSpecify the service region where the site should be created. See documentation for valid regions.
--repository-nameName of the repository to create in the VCS provider. Only applies if --vcs-provider is not Pantheon.
--skip-clone-repoDo not clone the repository after creation. Default is false.
--vcs-orgName of the Github organization containing the repository. Required if --vcs-provider=github is used.
--vcs-providerVCS provider for the site repository (e.g., github, pantheon). Default is pantheon.
--vcs-tokenPersonal access token for the VCS provider. Only applies if --vcs-provider=gitlab.
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--visibilityVisibility of the external repository (private or public). Only applies if --vcs-provider=github. Default is private.
--yesAnswer all confirmations with "yes"
Back to all commands