Package import using drush
The Site Studio Sync sub module provides an import command that allows package imports from specified or default location. Both individual and full packages are supported:
This command has the following options:
- --path[=PATH] - Specify path to a directory containing package files. If this option is omitted, command defaults to value set in $settings['site_studio_sync'].
- --diff[=DIFF] - Show preview as a diff. If this option is provided, confirmation of changes will be required in order for import to complete, unless --yes is also used, to auto-confirm the changes.
- --extra-validation - Import all configuration and files with default Drupal validation and perform data integrity validation on Site Studio configuration. This import takes more time and resources.
Adding -h as option will output "Import Cohesion packages from sync." message and the list of available options.
Package import command tracks what changes are being introduced and rebuilds relevant entities during the command process.