def input_iterator
      return arguments.each unless arguments.empty?
      return IO.foreach(options[:input]) if options[:input]

      $stdin.each_line
    end
def input_iterator
      return arguments.each unless arguments.empty?
      return IO.foreach(options[:input]) if options[:input]

      $stdin.each_line
    end
Returns an input iterator to use for the request.
 - if arguments are given, uses arguments
 - if the input file option is given, uses file input
 - if none of the previous are given, uses stdin