With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
Site Studio includes some useful Drush commands which are available to use within your terminal application.
| Command | Description |
|---|---|
$ drush cohesion:import | Runs a Site Studio asset import from the API, this is a required step when upgrading or installing Site Studio. |
$ drush cohesion:rebuild | Runs a Site Studio rebuild, this will re-save Site Studio settings, styles and templates. |
Requires cohesion_sync sub-module
| Command | Description |
|---|---|
$ drush sitestudio:package:export | Export Site Studio package files to a specified or default directory. |
$ drush sitestudio:package:import | Import Site Studio packages from specified or default directory. |
$ drush sitestudio:package:multi-import | Import multiple packages from a package list file. |
$ drush sitestudio:package:list | List sync packages |
The following package management commands are provided for legacy purposes but are considered deprecated for performance reasons:
| Command | Description |
$ drush sync:export | Exports all Site Studio configuration to the sync folder as a .yml_ file. |
$ drush sync:export --filename-prefix=myfilenamehere | Exports all Site Studio configuration to the sync folder as a .yml_ file with a custom file name rather than using the websites name. |
$ drush sync:import --overwrite-all | Imports all Site Studio configuration from the sync folder and overwrite existing Site Studio configuration. |
$ drush sync:import --keep-all | Imports all Site Studio configuration from the sync folder and keeps existing Site Studio configuration and only imports new configuration. |
| Command | Description |
|---|---|
$ drush sitestudio:templates:regenerate | Regenerate the list of template suggestions in Site Studio |
If this content did not answer your questions, try searching or contacting our support team for further assistance.