mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
print validation info on default checking mode
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
9f02a88e54
commit
8a8021a7ab
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ class VulcanoCLI < Thor
|
||||||
option :print, aliases: :p, type: :boolean
|
option :print, aliases: :p, type: :boolean
|
||||||
def json(*paths)
|
def json(*paths)
|
||||||
paths.each do |path|
|
paths.each do |path|
|
||||||
|
Vulcano::Profiles.new.valid_folder? path unless options[:print]
|
||||||
vc = Vulcano::Profiles.new({ quiet: options[:print] })
|
vc = Vulcano::Profiles.new({ quiet: options[:print] })
|
||||||
vc.add_folder(path)
|
vc.add_folder(path)
|
||||||
if options[:print]
|
if options[:print]
|
||||||
|
|
Loading…
Reference in a new issue