This took me a while to figure out. `drush cde module_name` exports config based on the `config_devel` information found on the modules info.yml file.

However, it doesn't delete existing yml files in the config/install directory.

I believe it should, because right know configuration that doesn't exist on the site (or is not marked for export) still remains in the install folder.

Comments

bserem created an issue. See original summary.

bserem’s picture

Status: Active » Closed (works as designed)

On second thought, I can now see that it possible that there is also config that is not managed by config_devel in the directory, which would be a bad idea to delete.