class InspecPlugins::Example::CliCommand

Public Instance Methods

control() click to toggle source
# File lib/inspec-plugin-example/cli.rb, line 38
def control
  Inspec::Log.level = :debug if options[:debug]
  Example::Control.print(options)
end
version() click to toggle source
# File lib/inspec-plugin-example/cli.rb, line 21
def version
  Inspec::Log.level = :debug if options[:debug]
  Inspec::Log.debug 'Example::Version debugging message'
  say("InSpec Example Plugin v#{Example::VERSION}")
end