class Koji::CLI
Public Instance Methods
check(url)
click to toggle source
# File lib/koji/cli.rb, line 10 def check(url) website = Website.new(url) detector = Detector.new(website) verbose = options.dig("verbose") || false report = verbose ? detector.detailed_report : detector.report puts JSON.pretty_generate(report) end