mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
CFINSPEC-13: Added option --auto-install-gems to work with both inspec exec and inspec check command.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
30f44b0462
commit
9e15ebac1a
1 changed files with 2 additions and 2 deletions
|
@ -145,6 +145,8 @@ module Inspec
|
|||
desc: "Folder which contains referenced profiles."
|
||||
option :vendor_cache, type: :string,
|
||||
desc: "Use the given path for caching dependencies. (default: ~/.inspec/cache)"
|
||||
option :auto_install_gems, type: :boolean, default: false,
|
||||
desc: "Auto install gem dependencies of profile/resource pack defined in metadata file."
|
||||
end
|
||||
|
||||
def self.supermarket_options
|
||||
|
@ -201,8 +203,6 @@ module Inspec
|
|||
long_desc: "Maximum seconds to allow commands to run during execution. A timed out command is considered an error."
|
||||
option :reporter_include_source, type: :boolean, default: false,
|
||||
desc: "Include full source code of controls in the CLI report"
|
||||
option :auto_install_gems, type: :boolean, default: false,
|
||||
desc: "Auto install gem dependencies of profile/resource pack defined in metadata file."
|
||||
end
|
||||
|
||||
def self.help(*args)
|
||||
|
|
Loading…
Reference in a new issue