Site Studio Drush commands
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
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 |
Other
Command | Description |
---|---|
$ drush sitestudio:templates:regenerate |
Regenerate the list of template suggestions in Site Studio |