require 'thor'

module AccessLint
  class CLI < Thor
    desc 'audit TARGET', "Run an accessibility audit on a target file or url."
    def audit(target)
      puts Audit.new(target).run
    end
  end
end

require 'thor'

module AccessLint
  class CLI < Thor::Group
    desc 'Run an accessibility audit on a target file or url.'
    argument :target
    def audit
      puts Audit.new(target).run
    end
  end
end

Use the first argument as the audit target
Use the first argument as the audit target
