Open anotherjames opened 8 years ago
Now at least reports saying that no config was found to export when there were no changes written.
We should differentiate or make clearer that 'There is no config to export. ' means that it's worked, found the config that it should export, but doesn't need to etc. I thought that maybe it hadn't found any config to export at all.
Maybe we should also output keys that are explicitly 'managed' (maybe also implicit and unmanaged) but don't correspond to actual config in the site. This would help with adding a new item, as I'd see immediately that I'd got the name wrong or somesuch.
Currently, the command either says it has successfully operated, or not. It should:
1) Say what was was exported - or, better, what will be exported, similarly to the import command's preview, before asking for confirmation? 2) If no modules were found to export to, say so, rather than just being mysterious, since that's a common edge case where developers just need to add the cm_config_tools key to a module's info file.