cloudflare-cli icon indicating copy to clipboard operation
cloudflare-cli copied to clipboard

cfcli rm is too dangerous!

Open Cojad opened this issue 5 years ago • 2 comments

"cfcfli rm" without any matching parameter will delete 20 dns records without asking user first. User should get warning if it's ok to delete record without any matching parameter. This is really danger design for careless user like me. Please consider adding confirmation for deleting records more then just single record.

Cojad avatar Dec 17 '19 03:12 Cojad

Sorry for the delay in replying, I haven't been spending any time on this project. I will take a look at a force flag to use with the delete command and add the suggested warning

danielpigott avatar May 02 '20 09:05 danielpigott

I have updated the command so that it won't run if a name is not provided. Still need to look at adding a confirmation

danielpigott avatar Oct 01 '20 14:10 danielpigott