nWidart / laravel-modules

Module Management In Laravel
https://docs.laravelmodules.com
MIT License
5.56k stars 969 forks source link

delete Command Lacks Warning and Confirmation Before Deleting All Modules #1859

Closed RealMrHex closed 6 months ago

RealMrHex commented 6 months ago

The delete command in the module has a critical issue where it deletes all modules without any warning or confirmation. This can lead to accidental and irreversible loss of data. When executed, the command immediately removes all modules, resulting in potential disruptions and significant data loss.

Please add a confirmation step to the delete command to prevent unintended deletions. A simple prompt asking for user approval before proceeding with the deletion would greatly enhance the safety of this command.

Thank you for addressing this.