Cleanup configuration files (if any) when uninstalling the package
m-sureshraj opened this issue ยท 5 comments
This could be a new topic. The CLI application should remove it's internal configuration files (if there are any) when uninstalling the package. We can use NPM's pre
or post
uninstall script for this purpose.
Sounds like a good idea to add in the Distribution
section ๐
@m-sureshraj perhaps wasn't clear from my previous comment - you are more than welcome to PR this idea and we can work out the exact semantics and suggestions via the PR.
Sure @lirantal. I will create a PR for this topic. Thanks.
Even better if the user can opt-in to preserving config files. Many times it's valuable for the config to persist across installations.
Hi, I've created PR for this topic. Please review - #16
cc: @lirantal @jasonkarns