Class: Chef::Knife::Changelog

Inherits:
Chef::Knife show all
Defined in:
lib/chef/knife/changelog.rb

Instance Method Summary collapse

Instance Method Details

#runObject



32
33
34
35
36
37
38
39
# File 'lib/chef/knife/changelog.rb', line 32

def run
  Log.info config.to_s
  puts PolicyChangelog.new(
    @name_args,
    config[:policyfile],
    config[:with_dependencies]
  ).generate_changelog(config[:prevent_downgrade])
end