def generate path = "."
      updated_configuration = configuration.merge label: options.label, includes: options.includes
      runner = Runner.new path, configuration: updated_configuration.to_h
      files = runner.files

      return if files.empty?

      runner.run

      say "Processed table of contents for:"
      files.each { |file| say "  #{file}" }
    end
def generate path = "."
      updated_configuration = configuration.merge label: options.label, includes: options.includes
      runner = Runner.new path, configuration: updated_configuration.to_h
      files = runner.files

      return if files.empty?

      runner.run

      say "Processed table of contents for:"
      files.each { |file| say "  #{file}" }
    end
:reek:TooManyStatements