require_relative "adr/record"
require_relative "adr/repository"
require_relative "adr/index"
require_relative "adr/template"
require_relative "adr/detector"
require_relative "adr/migrator"
require_relative "adr/migration_report"
require_relative "adr/finder"

module Adr
  def self.slugify(title)
    title.downcase.gsub(/[^a-z0-9]+/, "-").gsub(/\A-|-\z/, "")
  end
end
