Skip to content

Commit b98c597

Browse files
committed
Update README.md
1 parent cd7875d commit b98c597

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1-
# delete confirmation kubectl plugin
2-
A simple plugin for kubectl to prevent fuck ups
1+
# kubectl delete confirmation script
2+
3+
It's a really simple script with less than 50 lines of code yet, in my opinion,
4+
a useful middleware to prevent irreversible mistakes.
5+
6+
### How to use?
7+
- `go build`
8+
- 'mv kubectl-confirm-delete /usr/share/mydir/'
9+
- Add this alias to your zshrc or bashrc
10+
- `alias kubectl="/usr/share/mydir/kubectl-confirm-delete"`
11+
12+
Then, if you run "kubectl delete whatever_resource whatever_name", you should be able to see
13+
the confirmation message.

0 commit comments

Comments
 (0)