api:v3:sites:duplicate
Duplicates a site from another given site.
For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.
Usage
acli api:v3:sites:duplicate [--site_id SITE_ID] [--hook_argument HOOK_ARGUMENT] [--task-wait] [--] <siteId> <site_name> <site_label> <environment_mapping>...
Arguments
siteId
Required
Unique identifier for the site
site_name
Required
Machine name for the duplicated site. Must start with a lowercase letter and contain only lowercase letters and numbers. Maximum 14 characters.
site_label
Required
Human-readable label for the duplicated site. Must only contain letters, numbers, and spaces. Maximum 50 characters.
environment_mapping
Required
Array of environment mappings. You must provide exactly one environment mapping. Each entry maps a source environment ID to a target environment ID, separated by a colon.
Defaults to
[]
Options
--site_id
Required
An optional explicit UUID for the new duplicated site. A UUID is generated automatically if omitted.
--hook_argument
Required
Optional hook argument to pass to the duplication process.
--task-wait
Optional
Wait for this task to complete
Defaults to
false--help | -h
Optional
Display help for the given command. When no command is given display help for the `list` command
Defaults to
false--quiet | -q
Optional
Do not output any message
Defaults to
false--verbose | -v|-vv|-vvv
Optional
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Defaults to
false--version | -V
Optional
Display this application version
Defaults to
false--ansi
Optional
Force (or disable --no-ansi) ANSI output
--no-ansi
Optional
Negate the "--ansi" option
--no-interaction | -n
Optional
Do not ask any interactive question
Defaults to
false