    # File lib/chef/knife/core/ui.rb, line 125
          def ask_question(question, opts={})
            question = question + "[#{opts[:default]}] " if opts[:default]

            if opts[:default] and config[:defaults]
              opts[:default]
            else
              stdout.print question
              a = stdin.readline.strip

              if opts[:default]
                a.empty? ? opts[:default] : a
              else
                a
              end
            end
          end