Class: Apullo::CLI
- Inherits:
-
Thor
- Object
- Thor
- Apullo::CLI
- Defined in:
- lib/apullo/cli.rb
Instance Method Summary collapse
Instance Method Details
#check(target) ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/apullo/cli.rb', line 11 def check(target) target = Target.new(target) headers = ["headers"] results = build_results(target, headers: headers) = { target: target.id } results = results.merge(meta: ) puts JSON.pretty_generate(results) end |