Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonC0DER committed May 12, 2023
1 parent cd7875d commit b98c597
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# delete confirmation kubectl plugin
A simple plugin for kubectl to prevent fuck ups
# kubectl delete confirmation script

It's a really simple script with less than 50 lines of code yet, in my opinion,
a useful middleware to prevent irreversible mistakes.

### How to use?
- `go build`
- 'mv kubectl-confirm-delete /usr/share/mydir/'
- Add this alias to your zshrc or bashrc
- `alias kubectl="/usr/share/mydir/kubectl-confirm-delete"`

Then, if you run "kubectl delete whatever_resource whatever_name", you should be able to see
the confirmation message.

0 comments on commit b98c597

Please # to comment.