Here's an example of using the confirm command.