netz98 / n98-magerun

The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.
http://magerun.net/
Other
1.44k stars 400 forks source link

[Feature-Request] n98-magerun command to clear orders #858

Open zuernBernhard opened 8 years ago

zuernBernhard commented 8 years ago

It would be great for local development to be able to remove certain or all orders drom the database:

n98-magerun orders:clear

n98-magerun orders:clear:single

robbieaverill commented 7 years ago

It would make sense to me that this command could not be run unless developer mode is enabled, or a force flag was given. At the end of the day, you could do this manually from db:console, but it might be worth adding a failsafe just in case.