Sha256: 6ea9561d9b5434dcc4822695964d543d0b5b2e8b94d91e3a454eb6e97bbaa549

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

require 'thor'
require 'command_line_reporter'
require 'awesome_print'

module AccessLint
  class CLI < Thor
    include CommandLineReporter

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
access_lint-0.1.3 lib/access_lint/cli.rb
access_lint-0.1.2 lib/access_lint/cli.rb