Answer by Mladen Jablanović for In Ruby, is there a library to make command line scripts more user friendly, prompting me what to run? →
If you need something that would really prompt user during the execution of the script, you can wrap the methods you need to prompt about:
module Confirmable def confirm_first *methods...