Class: InspecDelta::Commands::Profile

Inherits:
Thor
  • Object
show all
Defined in:
lib/inspec_delta/commands/profile.rb

Overview

This class will take care of operations related to profile manipulation

Instance Method Summary collapse

Instance Method Details

#updateObject



16
17
18
19
20
# File 'lib/inspec_delta/commands/profile.rb', line 16

def update
  prof = InspecDelta::Object::Profile.new(options[:profile_path])
  prof.update(options[:stig_file_path])
  prof.format
end