Class: AccessLint::CLI

Inherits:
Thor
  • Object
show all
Includes:
CommandLineReporter
Defined in:
lib/access_lint/cli.rb

Instance Method Summary collapse

Instance Method Details

#audit(target) ⇒ Object



10
11
12
13
14
# File 'lib/access_lint/cli.rb', line 10

def audit(target)
  report(message: "auditing #{target}", color: "blue") do
    ap Audit.new(target).run, index: false
  end
end