CLI integration
This page refers to Config Split 1.x and should be updated. See #3269656
Config Split provides a few CLI commands, they work the same with drush as with drupal console.
It is advised to use a recent stable version of drush (> 8.1.10) as then you will not need to learn new commands and the usual drush cex && drush cim will work with the configuration splits.
With an argument (a config split machine name) for config-split-export only the specific split is exported, the sync directory is not touched.
With an argument for config-split-import only the configuration from the split directory is imported and the rest is as it is in the active sync storage.
The native console commands have too many optional arguments that make compatibility with Config Split (and other modules depending on Config Filter) unpractical. Use the config-split:export and config-split:import as a replacement instead.
It was formerly called "Graylist", so you can still find documentation referring to it by that name.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion