Sha256: d7869724e79da8947aa8ef26572311673cf78f6f8f8fbb74959ecfb784721630

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

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

module Entree
  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

5 entries across 5 versions & 1 rubygems

Version Path
entree-0.0.5 lib/entree/cli.rb
entree-0.0.4 lib/entree/cli.rb
entree-0.0.3 lib/entree/cli.rb
entree-0.0.2 lib/entree/cli.rb
entree-0.0.1 lib/entree/cli.rb