Class: X509Sleuth::Cli
- Inherits:
-
Thor
- Object
- Thor
- X509Sleuth::Cli
- Defined in:
- lib/x509_sleuth/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
6 7 8 |
# File 'lib/x509_sleuth/cli.rb', line 6 def self.exit_on_failure? true end |
Instance Method Details
#scan ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/x509_sleuth/cli.rb', line 13 def scan [:target].each do |target| my_client.add_target(target) end my_client.run output = X509Sleuth::ScannerPresenter.new(my_client) puts output.to_s end |