Data Deletion In Erpnext

How to delete the entire data that i have entered in to the erpnext site

if you have server access, from frappe-bench run

bench --site site_name reinstall

But i have customized some of the forms and created doctypes …i don’t want to lose them …Will they be deleted …Thank You for Your Answer…

If customizations are done through custom fields and custom forms then reinstall will flush them all.

If you only wants to delete transaction data, then delete it from company via

And i Also tried …
lib/wnf.py–cleanup_data
But it’s giving the following error…
-bash: lib/wnf.py–cleanup_data: No such file or directory

Deprecated years ago!