confirm
A very simple command line program to confirm a chained action. It simply prompts the user and it exits cleanly for a positive response.
``` confirm && dangerous_command
confirm "Dangerous command ahead! Continue?" && dangerous_command ```
``` confirm; and dangerous_command
confirm "Dangerous command ahead! Continue?"; and dangerous_command ```