Class: Example::CLI
- Inherits:
-
Thor
- Object
- Thor
- Example::CLI
- Defined in:
- lib/inspec-plugin-example/cli.rb
Instance Method Summary collapse
Instance Method Details
#control ⇒ Object
24 25 26 27 |
# File 'lib/inspec-plugin-example/cli.rb', line 24 def control Inspec::Log.level = :debug if [:debug] Example::Control.print end |
#version ⇒ Object
14 15 16 |
# File 'lib/inspec-plugin-example/cli.rb', line 14 def version say("InSpec Example Plugin v#{Example::VERSION}") end |