Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'rm' is dangerous, recursively deletes tree with no confirmation #106

Open
bedge opened this issue Jun 15, 2022 · 1 comment
Open

'rm' is dangerous, recursively deletes tree with no confirmation #106

bedge opened this issue Jun 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@bedge
Copy link

bedge commented Jun 15, 2022

Any delete operation on a node which children should require a --force or prompt for confirmation.

Currently:

rm secrets/env/targetX

Deletes everything under secrets/env/targetX/* with no interaction.

That said, it is effective :)

@fishi0x01 fishi0x01 added the enhancement New feature or request label Jun 21, 2022
@fishi0x01
Copy link
Owner

Hi 👋

Very valid point. Will add a --force flag for extra caution.

Thanks a lot for opening this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants