Site Studio includes some useful Drush commands which are available to use within your terminal application.
General¶
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. |
Package management¶
Requires cohesion_sync sub-module
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. |
Other¶