Sha256: 927992d5fd19aa93db888661b1bfffb528ea631f2409d84e5eb75c24c02440bd
Contents?: true
Size: 502 Bytes
Versions: 10
Compression:
Stored size: 502 Bytes
Contents
class CSVTasks < Thor include Rails.application.config.dradis.thor_helper_module namespace "dradis:plugins:csv" desc "export", "export issues to a CSV file" def export require 'config/environment' detect_and_set_project_scope exporter = Dradis::Plugins::CSV::Exporter.new(task_options) csv = exporter.export() filename = "dradis-report_#{Time.now.to_i}.csv" File.open(filename, 'w') { |f| f.write csv } logger.info "File written to ./#{ filename }" end end
Version data entries
10 entries across 10 versions & 1 rubygems