1
module Puppet::Module::Tool
6
# This module contains methods to emit questions to the console.
8
def confirms?(question)
9
$stderr.print "#{question} [y/N]: "
13
def prompt(question, quiet = false)
14
$stderr.print "#{question}: "
15
system 'stty -echo' if quiet