#!/usr/bin/env ruby
# frozen_string_literal: true

lib_path = File.expand_path("#{__dir__}/../lib")
$LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)

require "rainbow"

warn(Rainbow("Calling `erblint` is deprecated, please call the renamed executable `erb_lint` instead.").yellow)
exec(File.join(__dir__, "erb_lint"), *ARGV)
