def parse(args)
      @options = { :report => false }

      OptionParser.new do |parser|
        parser.banner = "Usage: todo_lint [options] [files]"
        add_config_options parser
        exclude_file_options parser
        include_extension_options parser
        report_version parser
        report_report_options parser
      end.parse!(args)

      # Any remaining arguments are assumed to be files
      options[:files] = args

      options
    end
def parse(args)
      @options = { :report => false }

      OptionParser.new do |parser|
        parser.banner = "Usage: todo_lint [options] [files]"
        add_config_options parser
        exclude_file_options parser
        include_extension_options parser
        report_version parser
        report_report_options parser
      end.parse!(args)

      # Any remaining arguments are assumed to be files
      options[:files] = args

      options
    end
Parses command line options into an options hash
 @api public
 @example Options.new.parse("todo_lint -c app.rb")
 @param args [Array<String>] arguments passed via the command line
 @return [Hash] parsed options