Provide uninstall options
PierreDemailly opened this issue · 0 comments
PierreDemailly commented
User should be able to delete the configuration file (reverse of commity --init
).
- npm <= v6: we can add a pre uninstall hook (see https://docs.npmjs.com/cli/v9/using-npm/scripts#a-note-on-a-lack-of-npm-uninstall-scripts)
- npm >= v7 we can provide uninstall option via argument (i.e.
commity --uninstall
)