drush config:pullfor drush 9x
Export and transfer config from one environment to another.
drush config:pull
-
Aliases
config:pull has 2 alias/es:
drush cpull
drush config-pull
-
Arguments
config:pull accepts 2 argument/s:
source* : A site-alias or the name of a subdirectory within /sites whose config you want to copy from.
destination* : A site-alias or the name of a subdirectory within /sites whose config you want to replace.
-
Options
config:pull accepts 6 option/s:
--safe
--safe : safe
--label
--label : label
--runner
--runner : runner
--notify
--notify : notify
--druplicon
--druplicon : druplicon
--xh-link
--xh-link : xh-link
-
Examples
Export config from @prod and transfer to @stage.
drush config:pull @prod @stage
Export config from @prod and transfer to the 'vcs' config directory of current site.
drush config:pull @prod @self --label=vcs
-
Comments
comments powered by Disqus