I usually do the opposite and add a --really flag to my CLI utilities, so that they are read-only by default and extra effort is needed to screw things up.
I've committed "--i-meant-that" (for a destroy-the-remote-machine command that normally (without the arg) gives you a message and 10s to hit ^C if you're not sure, for some particularly impatient coworkers. Never ended up being used inappropriately, which is luck (but we never quantified how much luck :-)
eichin|29 days ago
tkclough|29 days ago
I guess the goal for both is to give the user a chance to get out of autopilot, and avoid up-arrowing and re-executing.
weikju|29 days ago