pull:code
Copy code from a Cloud Platform environment
This command requires authentication via the Cloud Platform API. This command requires an active database connection. Set the following environment variables prior to running this command: ACLI_DB_HOST, ACLI_DB_NAME, ACLI_DB_USER, ACLI_DB_PASSWORD
Usage
acli pull:code [--siteInstanceId [SITEINSTANCEID]] [--dir [DIR]] [--no-scripts] [--] [<environmentId>]
acli pull:code [<environmentAlias>]
acli pull:code myapp.dev
acli pull:code prod:myapp.dev
acli pull:code 12345-abcd1234-1111-2222-3333-0e02b2c3d470
acli pull:code 3e8ecbec-ea7c-4260-8414-ef2938c859bc.abcd1234-1111-2222-3333-0e02b2c3d470
Arguments
environmentId
Optional
The Cloud Platform environment ID or alias (i.e. an application and environment name optionally prefixed with the realm)
Options
--siteInstanceId
Optional
The Site Instance ID (SITEID.EnvironmentID)
--dir
Optional
The directory containing the Drupal project to be refreshed
--no-scripts
Optional
Do not run any additional scripts after code is pulled. E.g., composer install , drush cache-rebuild, etc.
Defaults to
false--help