def run
      log = @generator.compound_changelog

      if @options.write_to_file?
        output_filename = @options[:output].to_s
        File.open(output_filename, "wb") { |file| file.write(log) }
        puts "Done!"
        puts "Generated log placed in #{Dir.pwd}/#{output_filename}"
      else
        puts log
      end
    end
def run
      log = @generator.compound_changelog

      if @options.write_to_file?
        output_filename = @options[:output].to_s
        File.open(output_filename, "wb") { |file| file.write(log) }
        puts "Done!"
        puts "Generated log placed in #{Dir.pwd}/#{output_filename}"
      else
        puts log
      end
    end
Class, responsible for whole changelog generation cycle
 @return initialised instance of ChangelogGenerator
 The entry point of this script to generate changelog
 @raise (ChangelogGeneratorError) Is thrown when one of specified tags was not found in list of tags.