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.