read_and_execute (Capistrano::Shell)

    # File lib/capistrano/shell.rb, line 58
        def read_and_execute
          command = read_line

          case command
            when "?", "help" then help
            when "quit", "exit" then
              puts "exiting"
              return false
            when /^set -(\w)\s*(\S+)/
              set_option($1, $2)
            when /^(?:(with|on)\s*(\S+))?\s*(\S.*)?/i
              process_command($1, $2, $3)
            else
              raise "eh?"
          end

          return true
        end