drush config:import has the –source flag to specify where the import should come from.
drush config:export has the –destination flag to specify where the import should go.
I am trying to automate a system for determining if update hooks have modified configuration, to avoid the problem documented in #3110362 If an update hook modifies configuration, then old configuration is imported, the changes made by the update hook are forever lost.
To do so I will export the config to a temporary directory, like:
drush config:export --destination=/tmp/check-issue-3110362
Then I will run the updates
drush updb -y
Then I want to run a diff between the database config and the config in /tmp/check-issue-3110362, but the following does not work:
drush config:status --source=/tmp/check-issue-3110362 # The "--source" option does not exist. drush config:status --destination=/tmp/check-issue-3110362 # The "--destination" option does not exist.
How can I tell drush config:status to use a specific directory to check against the database?
My version of Drush is 10.3.6