Site Studio drush commands

    Site Studio includes some useful drush commands which are available to use within your terminal application. 

    drush cohesion:import  - Runs a Site Studio asset import from the API, this is usually run when upgrading Site Studio.
    drush cohesion:rebuild - Runs a Site Studio rebuild, this will re-save Site Studio settings, styles and templates.

    If Site Studio sync is enabled, you can use the following commands.

    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.

    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.